A simple wrapper around AdaptiveTheme to toggle
between Light, Dark, and System brightness modes. Drop it into an AppBar or settings screen.
dependencies:
codifyiq_brightness_button: ^1.0.0import '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