Fix Flutter 3.x compatibility: Icons and CardThemeData
This commit is contained in:
@@ -106,12 +106,12 @@ class MainShell extends StatelessWidget {
|
||||
label: 'Clients',
|
||||
),
|
||||
NavigationDestination(
|
||||
icon: Icon(Icons.email_outline),
|
||||
icon: Icon(Icons.email_outlined),
|
||||
selectedIcon: Icon(Icons.email),
|
||||
label: 'Emails',
|
||||
),
|
||||
NavigationDestination(
|
||||
icon: Icon(Icons.event_outline),
|
||||
icon: Icon(Icons.event_outlined),
|
||||
selectedIcon: Icon(Icons.event),
|
||||
label: 'Events',
|
||||
),
|
||||
|
||||
@@ -13,7 +13,7 @@ class AppTheme {
|
||||
centerTitle: true,
|
||||
elevation: 0,
|
||||
),
|
||||
cardTheme: CardTheme(
|
||||
cardTheme: CardThemeData(
|
||||
elevation: 0,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
@@ -62,7 +62,7 @@ class AppTheme {
|
||||
centerTitle: true,
|
||||
elevation: 0,
|
||||
),
|
||||
cardTheme: CardTheme(
|
||||
cardTheme: CardThemeData(
|
||||
elevation: 0,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
|
||||
Reference in New Issue
Block a user