flutter_theme_manager 0.0.6+1
flutter_theme_manager: ^0.0.6+1 copied to clipboard
We Provide light and dark theme in very simple way. we Know that passing the theme in whole app is very difficult and we need to write lot of code only for theme.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_theme_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_theme_manager: ^0.0.6+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_theme_manager/flutter_theme_manager.dart';