Fluent2OptionRow constructor

const Fluent2OptionRow({
  1. required String label,
  2. required bool selected,
  3. required VoidCallback? onPressed,
  4. IconData? icon,
  5. String? secondary,
  6. bool multiselect = false,
  7. bool highlighted = false,
  8. FocusNode? focusNode,
  9. Key? key,
})

A pressable listbox row for label.

Implementation

const Fluent2OptionRow({
  required this.label,
  required this.selected,
  required this.onPressed,
  this.icon,
  this.secondary,
  this.multiselect = false,
  this.highlighted = false,
  this.focusNode,
  super.key,
});