0 purchases
day night themed switch
day_night_themed_switch #
Custom Switch widget with day and night theme.
Based on UX design found on Instagram.
Installation #
In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
day_night_themed_switch: <latest_version>
copied to clipboard
Usage #
Import the package:
import 'package:day_night_themed_switch/day_night_themed_switch.dart';
copied to clipboard
Use the switcher like:
DayNightSwitch(
value: true,
onChanged: (_) {},
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.