SliderFieldBlocBuilder constructor
const
SliderFieldBlocBuilder({
- Key? key,
- required InputFieldBloc<
double, dynamic> inputFieldBloc, - FocusNode? focusNode,
- FocusNode? nextFocusNode,
- double min = 0.0,
- double max = 1.0,
- int? divisions,
- Color? activeColor,
- Color? inactiveColor,
- MouseCursor? mouseCursor,
- bool isEnabled = true,
- bool readOnly = false,
- bool animateWhenCanShow = true,
- bool enableOnlyWhenFormBlocCanSubmit = false,
- EdgeInsetsGeometry? padding,
- InputDecoration decoration = const InputDecoration(),
- FieldBlocErrorBuilder? errorBuilder,
- String labelBuilder(
- BuildContext context,
- double value
Implementation
const SliderFieldBlocBuilder({
Key? key,
required this.inputFieldBloc,
this.focusNode,
this.nextFocusNode,
this.min = 0.0,
this.max = 1.0,
this.divisions,
this.activeColor,
this.inactiveColor,
this.mouseCursor,
this.isEnabled = true,
this.readOnly = false,
this.animateWhenCanShow = true,
this.enableOnlyWhenFormBlocCanSubmit = false,
this.padding,
this.decoration = const InputDecoration(),
this.errorBuilder,
this.labelBuilder,
}) : super(key: key);