File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
boring_to_beautiful/step_07/lib/src/shared/providers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ class ThemeProvider extends InheritedWidget {
8787 ShapeBorder get shapeMedium =>
8888 RoundedRectangleBorder (borderRadius: BorderRadius .circular (8 ));
8989
90- CardTheme cardTheme () {
91- return CardTheme (
90+ CardThemeData cardTheme () {
91+ return CardThemeData (
9292 elevation: 0 ,
9393 shape: shapeMedium,
9494 clipBehavior: Clip .antiAlias,
@@ -110,8 +110,8 @@ class ThemeProvider extends InheritedWidget {
110110 );
111111 }
112112
113- TabBarTheme tabBarTheme (ColorScheme colors) {
114- return TabBarTheme (
113+ TabBarThemeData tabBarTheme (ColorScheme colors) {
114+ return TabBarThemeData (
115115 labelColor: colors.secondary,
116116 unselectedLabelColor: colors.onSurfaceVariant,
117117 indicator: BoxDecoration (
You can’t perform that action at this time.
0 commit comments