bloomBUILD•SHIP•BLOOM
.md

Switch

BloomSwitch

A 32x18px control that allows the user to toggle between checked and unchecked states.

bloom ui add switch
package: bloom_ui
bloom-uiBloomSwitch
Live Push Notifications
Receive real-time crash and query alerts

Usage

BloomSwitch.dart
dart
BloomSwitch(
  checked: true,
  label: const Text('Push Notifications'),
  onChanged: (enabled) {
    print('Notifications: $enabled');
  },
)