changeTheme method

  1. @override
Future<void> changeTheme(
  1. BuildContext context,
  2. ThemeData theme
)
override

Implementation

@override
Future<void> changeTheme(BuildContext context, ThemeData theme) async {
  setState(() {
    sharedModel.theme = theme;
  });
}