SelectedButton constructor

const SelectedButton({
  1. Key? key,
  2. required bool value,
  3. ValueChanged<bool>? onChanged,
  4. required Widget child,
  5. bool? enabled,
  6. AbstractButtonStyle style = const ButtonStyle.ghost(),
  7. AbstractButtonStyle selectedStyle = const ButtonStyle.secondary(),
  8. AlignmentGeometry? alignment,
  9. 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,
});