ToggleButtonsThemeModifier constructor

const ToggleButtonsThemeModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required ToggleButtonsThemeData data,
})

Creates a toggle buttons theme that controls the color and border parameters for ToggleButtons.

The data argument must not be null.

Implementation

const ToggleButtonsThemeModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.data,
});