day_night_themed_switcher 1.2.5
day_night_themed_switcher: ^1.2.5 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 Dart:
$ dart pub add day_night_themed_switcherWith Flutter:
$ flutter pub add day_night_themed_switcherThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
day_night_themed_switcher: ^1.2.5Alternatively, your editor might support dart pub get or 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';