codifyiq_brightness_button

pub package

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

Libraries

codifyiq_brightness_button
A Light / Dark / System theme toggle button built on AdaptiveTheme.