-
-
Notifications
You must be signed in to change notification settings - Fork 641
Description
Describe the bug
Im not even using the Card or Button component in my app, but when building my application on XCode (Product > Build) using flutter channel master
. It crashed.
error: ../../../../../../.pub-cache/hosted/pub.dev/getwidget-4.0.0/lib/components/card/gf_card.dart:118:43: Error: A value of type 'CardThemeData' can't be assigned to a variable of type 'CardTheme'.
- final CardTheme cardTheme = CardTheme.of(context);
+ final CardThemeData cardTheme = CardTheme.of(context);
../../../../../../.pub-cache/hosted/pub.dev/getwidget-4.0.0/lib/components/button/gf_button.dart:579:34: Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't.
- enableFeedback: widget.enableFeedback,
+ enableFeedback: widget.enableFeedback ?? false,
Making the changes in the pub-cache myself , I got it to work.
Additional context
Flutter (Channel master, 3.27.0-1.0.pre.740, on macOS 14.5 23F79 darwin-arm64, locale en-US)