day_night 0.0.5 copy "day_night: ^0.0.5" to clipboard
day_night: ^0.0.5 copied to clipboard

retractedoutdated

A widget to select between light and dark ThemeMode (in development, but working fine)

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add day_night

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  day_night: ^0.0.5

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/day_night.dart';
1
likes
0
points
179
downloads

Publisher

unverified uploader

Weekly Downloads

A widget to select between light and dark ThemeMode (in development, but working fine)

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on day_night