codifyiq_brightness_button 1.0.0
codifyiq_brightness_button: ^1.0.0 copied to clipboard
A Light, Dark, and System theme toggle button for Flutter, built on the AdaptiveTheme package.
codifyiq_brightness_button #
A simple wrapper around AdaptiveTheme to toggle
between Light, Dark, and System brightness modes. Drop it into an AppBar or settings screen.
Installation #
dependencies:
codifyiq_brightness_button: ^1.0.0
Usage #
import 'package:codifyiq_brightness_button/codifyiq_brightness_button.dart';
AppBar(actions: const [BrightnessButton()]);
Your app must be wrapped in AdaptiveTheme (see the
adaptive_theme setup) for the toggle to take effect.
Part of the CodifyIQ component family · pub.dev/publishers/codifyiq.com