day_night_themed_switcher 2.0.2
day_night_themed_switcher: ^2.0.2 copied to clipboard
Elevate your app's charm with a sleek day/night switcher widget in pure Dart – because toggling between light and dark modes should be as effortless as a flicker of magic!
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add day_night_themed_switcher
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
day_night_themed_switcher: ^2.0.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:day_night_themed_switcher/day_night_themed_switcher.dart';