day_night_switch 1.0.4 copy "day_night_switch: ^1.0.4" to clipboard
day_night_switch: ^1.0.4 copied to clipboard

An easy to implement custom day night switch widget for Flutter. It can be highly customized with day & night colors and images.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add day_night_switch

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

dependencies:
  day_night_switch: ^1.0.4

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_switch/day_night_switch.dart';
36
likes
130
pub points
83%
popularity

Publisher

verified publisherdivyanshu.dev

An easy to implement custom day night switch widget for Flutter. It can be highly customized with day & night colors and images.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on day_night_switch