Skip to content

Commit fe49b0c

Browse files
Merge pull request #371 from w3ggy/master
Fix build issues on Flutter 3.35.0
2 parents 7820861 + 0a43351 commit fe49b0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/components/appbar/gf_appbar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class _GFAppBarState extends State<GFAppBar> {
304304
assert(!widget.primary || debugCheckHasMediaQuery(context));
305305
assert(debugCheckHasMaterialLocalizations(context));
306306
final ThemeData theme = Theme.of(context);
307-
final AppBarTheme appBarTheme = AppBarTheme.of(context);
307+
final appBarTheme = AppBarTheme.of(context);
308308
final ScaffoldState scaffold = Scaffold.of(context);
309309
final ModalRoute<dynamic>? parentRoute = ModalRoute.of(context);
310310
final bool hasDrawer = scaffold.hasDrawer;

lib/components/card/gf_card.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class GFCard extends StatelessWidget {
115115

116116
@override
117117
Widget build(BuildContext context) {
118-
final CardThemeData cardTheme = CardTheme.of(context);
118+
final cardTheme = CardTheme.of(context);
119119

120120
final Widget cardChild = Padding(
121121
padding: padding,

0 commit comments

Comments
 (0)