SelectedButton constructor
const
SelectedButton({
- Key? key,
- required bool value,
- ValueChanged<
bool> ? onChanged, - required Widget child,
- bool? enabled,
- AbstractButtonStyle style = const ButtonStyle.ghost(),
- AbstractButtonStyle selectedStyle = const ButtonStyle.secondary(),
- AlignmentGeometry? alignment,
- AlignmentGeometry? marginAlignment,
Implementation
const SelectedButton({
super.key,
required this.value,
this.onChanged,
required this.child,
this.enabled,
this.style = const ButtonStyle.ghost(),
this.selectedStyle = const ButtonStyle.secondary(),
this.alignment,
this.marginAlignment,
});