StyledSelectablePlainButton constructor
StyledSelectablePlainButton({
- Key? key,
- VoidCallback? onChanged,
- bool? selected,
- required dynamic style,
- dynamic hoveredStyle,
- dynamic selectedStyle,
- dynamic disabledStyle,
- Curve curve = Curves.linear,
- Duration duration = const Duration(milliseconds: 100),
- Widget? child,
- StyledComponentStateChildBuilder? builder,
Implementation
StyledSelectablePlainButton(
{Key? key,
this.onChanged,
this.selected,
required this.style,
this.hoveredStyle,
this.selectedStyle,
this.disabledStyle,
this.curve = Curves.linear,
this.duration = const Duration(milliseconds: 100),
this.child,
this.builder})
: assert(selected != null || onChanged != null);