mirrored_repositories/Flutter-Mobile-Application-Development/flutter_state_managements/provider_state_mangement/lib
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

class ThemeChangerProvider with ChangeNotifier {

  var _themeMode = ThemeMode.light;

  ThemeMode get themeMode => _themeMode; 

  void setThemeMode(themeMode) {
    _themeMode = themeMode;
    notifyListeners();
  }
}