This commit is contained in:
Marc Rejohn Castillano 2026-02-17 07:00:45 +08:00
parent 5f666ed6ea
commit e7c6f0d3b0
3 changed files with 12 additions and 10 deletions

View File

@ -207,8 +207,10 @@ class _TasksListScreenState extends ConsumerState<TasksListScreen> {
filterHeader: filterHeader, filterHeader: filterHeader,
onRequestRefresh: () { onRequestRefresh: () {
// For server-side pagination, update the query provider // For server-side pagination, update the query provider
ref.read(tasksQueryProvider.notifier).state = ref.read(tasksQueryProvider.notifier).state = const TaskQuery(
const TaskQuery(offset: 0, limit: 50); offset: 0,
limit: 50,
);
}, },
isLoading: false, isLoading: false,
columns: [ columns: [
@ -689,7 +691,6 @@ class _StatusSummaryCard extends StatelessWidget {
return Card( return Card(
color: background, color: background,
elevation: 0,
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12), padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
child: Column( child: Column(

View File

@ -582,7 +582,6 @@ class _StatusSummaryCard extends StatelessWidget {
return Card( return Card(
color: background, color: background,
elevation: 0,
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12), padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
child: Column( child: Column(

View File

@ -42,11 +42,12 @@ class AppTheme {
), ),
cardTheme: CardThemeData( cardTheme: CardThemeData(
color: base.colorScheme.surface, color: base.colorScheme.surface,
elevation: 0, elevation: 3, // M2-style elevation for visible separation (2-4 allowed)
margin: EdgeInsets.zero, margin: EdgeInsets.zero,
shadowColor: const Color.fromRGBO(0, 0, 0, 0.12),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20), borderRadius: BorderRadius.circular(16),
side: BorderSide(color: base.colorScheme.outlineVariant), side: BorderSide(color: base.colorScheme.outlineVariant, width: 1),
), ),
), ),
chipTheme: ChipThemeData( chipTheme: ChipThemeData(
@ -159,11 +160,12 @@ class AppTheme {
), ),
cardTheme: CardThemeData( cardTheme: CardThemeData(
color: base.colorScheme.surfaceContainer, color: base.colorScheme.surfaceContainer,
elevation: 0, elevation: 3, // M2-style elevation for visible separation (2-4 allowed)
margin: EdgeInsets.zero, margin: EdgeInsets.zero,
shadowColor: const Color.fromRGBO(0, 0, 0, 0.24),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20), borderRadius: BorderRadius.circular(16),
side: BorderSide(color: base.colorScheme.outlineVariant), side: BorderSide(color: base.colorScheme.outlineVariant, width: 1),
), ),
), ),
chipTheme: ChipThemeData( chipTheme: ChipThemeData(