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

A Flutter package to toggle between light and dark theme.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add light_dark_theme_toggle

With Flutter:

 $ flutter pub add light_dark_theme_toggle

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

dependencies:
  light_dark_theme_toggle: ^1.0.0

Alternatively, 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:light_dark_theme_toggle/light_dark_theme_toggle.dart';
10
likes
0
points
70
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to toggle between light and dark theme.

Repository (GitHub)
View/report issues

Topics

#theme-toggle #switch #toggle #widget #animation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on light_dark_theme_toggle