RadioMenuButtonFieldBlocBuilder<Value> constructor

const RadioMenuButtonFieldBlocBuilder<Value>({
  1. Key? key,
  2. required SelectFieldBloc<Value, dynamic> selectFieldBloc,
  3. required FieldItemBuilder<Value> itemBuilder,
  4. required Widget menuLabel,
  5. Axis direction = Axis.vertical,
  6. double spacing = 8.0,
  7. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 4.0),
  8. double radioSize = 24.0,
  9. ButtonStyle? menuButtonStyle,
  10. FocusNode? menuButtonFocusNode,
  11. bool isEnabled = true,
  12. TextStyle? labelStyle,
  13. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  14. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  15. bool? canDeselect,
  16. InputDecoration decoration = const InputDecoration(),
  17. FocusNode? nextFocusNode,
  18. bool animateWhenCanShow = true,
  19. TextStyle? textStyle,
  20. WidgetStateProperty<Color?>? textColor,
  21. bool? canTapItemTile,
  22. WidgetStateProperty<MouseCursor?>? mouseCursor,
  23. WidgetStateProperty<Color?>? fillColor,
  24. WidgetStateProperty<Color?>? overlayColor,
  25. double? splashRadius,
})

Implementation

const RadioMenuButtonFieldBlocBuilder({
  super.key,
  required this.selectFieldBloc,
  required this.itemBuilder,
  required this.menuLabel,
  this.direction = Axis.vertical,
  this.spacing = 8.0,
  this.padding = const EdgeInsets.symmetric(vertical: 4.0),
  this.radioSize = 24.0,
  this.menuButtonStyle,
  this.menuButtonFocusNode,
  this.isEnabled = true,
  this.labelStyle,
  this.mainAxisAlignment = MainAxisAlignment.start,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  this.canDeselect,
   this.decoration = const InputDecoration(),
  this.nextFocusNode,
   this.animateWhenCanShow = true,
  this.textStyle, this.textColor,
  // required this.groupStyle,
  this.canTapItemTile,
  this.mouseCursor,
  this.fillColor,
  this.overlayColor,
  this.splashRadius,
});