Skip to content

Conversation

@ctenuta
Copy link

@ctenuta ctenuta commented Aug 29, 2025

What was changed

  • Updated AppBarTheme.of(context) type to AppBarThemeData.
  • Replaced textTheme.bodyText2 with textTheme.bodyMedium.
  • Removed deprecated accentColor, now using colorScheme.copyWith(secondary: ...).
  • Enabled useMaterial3: true in ThemeData.

Why

Starting with Flutter 3.32+ (Material 3):

  • accentColor has been removed.
  • Several TextTheme getters were renamed.
  • AppBarTheme.of now returns AppBarThemeData.

Without these changes the package fails to compile on the latest Flutter stable.

How it was tested

  • Built and tested on Flutter 3.32.8 (stable).
  • flutter build appbundle completed successfully.
  • Verified AppBar and text styling still follow the theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant