sun_moon_switch 1.0.0 copy "sun_moon_switch: ^1.0.0" to clipboard
sun_moon_switch: ^1.0.0 copied to clipboard

An animated day/night toggle switch. A sun with drifting clouds becomes a cratered moon under twinkling stars.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add sun_moon_switch

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

dependencies:
  sun_moon_switch: ^1.0.0

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:sun_moon_switch/sun_moon_switch.dart';
2
likes
160
points
92
downloads
screenshot

Documentation

API reference

Publisher

verified publisheradrianogba.is-a.dev

Weekly Downloads

An animated day/night toggle switch. A sun with drifting clouds becomes a cratered moon under twinkling stars.

Repository (GitHub)
View/report issues

Topics

#switch #toggle #animation #dark-mode #ui

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sun_moon_switch