RadioGroupFieldBlocBuilder<Value> constructor

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

Implementation

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