betterplayer icon indicating copy to clipboard operation
betterplayer copied to clipboard

[FEATURE] Please update to support latest Flutter 3.22.0

Open bimemto opened this issue 9 months ago • 4 comments

I face this error when build with Flutter 3.22.0:

better_player-0.0.83/lib/src/configuration/better_player_controls_configuration.dart:243:34: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.

  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../../fvm/versions/3.22.0/packages/flutter/lib/src/material/text_theme.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. textColor: theme.textTheme.bodyText1?.color ?? Colors.white, ^^^^^^^^^

Please do a litter quick fix. Thanks and regards

bimemto avatar May 20 '24 02:05 bimemto