SliderFieldBlocBuilder constructor

const SliderFieldBlocBuilder({
  1. Key? key,
  2. required InputFieldBloc<double, dynamic> inputFieldBloc,
  3. FocusNode? focusNode,
  4. FocusNode? nextFocusNode,
  5. double min = 0.0,
  6. double max = 1.0,
  7. int? divisions,
  8. Color? activeColor,
  9. Color? inactiveColor,
  10. MouseCursor? mouseCursor,
  11. bool isEnabled = true,
  12. bool readOnly = false,
  13. bool animateWhenCanShow = true,
  14. bool enableOnlyWhenFormBlocCanSubmit = false,
  15. EdgeInsetsGeometry? padding,
  16. InputDecoration decoration = const InputDecoration(),
  17. FieldBlocErrorBuilder? errorBuilder,
  18. String labelBuilder(
    1. BuildContext context,
    2. 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);