custom_theme 1.9.2 custom_theme: ^1.9.2 copied to clipboard
Custom theme with user data support. Plugin wrap standard Flutter ThemeData to CustomData and allow to add some user defined data.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add custom_theme
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
custom_theme: ^1.9.2
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:custom_theme/custom_theme.dart';