You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this package to change the theme of my app from light to dark or vice-versa. It is working well with most of the widgets except the floating action button. I am getting this warning in the console: flutter: Warning: The support for configuring the foreground color of FloatingActionButtons using ThemeData.accentIconTheme has been deprecated. Please use ThemeData.floatingActionButtonTheme instead. See https://flutter.dev/go/remove-fab-accent-theme-dependency. This feature was deprecated after v1.13.2.
Any help would be appreciated
The text was updated successfully, but these errors were encountered:
Hi, you can fix that adding floatingActionButtonTheme: FloatingActionButtonThemeData( foregroundColor: Colors.greenAccent ) to ThemeData on DynamicTheme
it looks like
I am using this package to change the theme of my app from light to dark or vice-versa. It is working well with most of the widgets except the floating action button. I am getting this warning in the console: flutter: Warning: The support for configuring the foreground color of FloatingActionButtons using ThemeData.accentIconTheme has been deprecated. Please use ThemeData.floatingActionButtonTheme instead. See https://flutter.dev/go/remove-fab-accent-theme-dependency. This feature was deprecated after v1.13.2.
Any help would be appreciated
The text was updated successfully, but these errors were encountered: