ToggleStyleButton constructor

ToggleStyleButton({
  1. Key? key,
  2. required NotusAttribute attribute,
  3. required IconData icon,
  4. required ZefyrController controller,
  5. ToggleStyleButtonBuilder childBuilder = defaultToggleStyleButtonBuilder,
})

Implementation

ToggleStyleButton({
  Key? key,
  required this.attribute,
  required this.icon,
  required this.controller,
  this.childBuilder = defaultToggleStyleButtonBuilder,
})  : assert(!attribute.isUnset),
      super(key: key);