RadioMenuButtonFieldBlocBuilder<Value> constructor
const
RadioMenuButtonFieldBlocBuilder<Value> ({
- Key? key,
- required SelectFieldBloc<
Value, dynamic> selectFieldBloc, - required FieldItemBuilder<
Value> itemBuilder, - Axis direction = Axis.vertical,
- double spacing = 8.0,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 4.0),
- double radioSize = 24.0,
- bool isEnabled = true,
- TextStyle? labelStyle,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- bool? canDeselect,
- InputDecoration decoration = const InputDecoration(),
- FocusNode? nextFocusNode,
- bool animateWhenCanShow = true,
- TextStyle? textStyle,
- WidgetStateProperty<
Color?> ? textColor, - bool? canTapItemTile,
- WidgetStateProperty<
MouseCursor?> ? mouseCursor, - WidgetStateProperty<
Color?> ? fillColor, - WidgetStateProperty<
Color?> ? overlayColor, - 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,
});