dart_board_theme 0.9.5+7
dart_board_theme: ^0.9.5+7 copied to clipboard
Basic theme selection for dart-board, allows changing between dark/light themes programmatically or through a /theme route.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dart_board_theme
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dart_board_theme: ^0.9.5+7
copied to clipboard
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:dart_board_theme/dart_board_theme.dart';
copied to clipboard