FTimePickerStyle constructor

const FTimePickerStyle({
  1. required TextStyle textStyle,
  2. required Decoration selectionDecoration,
  3. required FFocusedOutlineStyle focusedOutlineStyle,
  4. required Future<void> hapticFeedback(),
  5. int hourFlex = 1,
  6. int minuteFlex = 1,
  7. int periodFlex = 1,
  8. EdgeInsetsDirectional padding = const .only(start: 10, end: 10),
  9. double diameterRatio = 1.07,
  10. double squeeze = 1,
  11. double magnification = 1,
  12. double overAndUnderCenterOpacity = 0.25,
  13. double spacing = 0,
  14. TextHeightBehavior textHeightBehavior = const TextHeightBehavior(applyHeightToFirstAscent: false, applyHeightToLastDescent: false),
  15. double selectionHeightAdjustment = 5,
})

Creates a FTimePickerStyle.

Implementation

const FTimePickerStyle({
  required super.textStyle,
  required super.selectionDecoration,
  required super.focusedOutlineStyle,
  required super.hapticFeedback,
  this.hourFlex = 1,
  this.minuteFlex = 1,
  this.periodFlex = 1,
  this.padding = const .only(start: 10, end: 10),
  super.diameterRatio,
  super.squeeze,
  super.magnification,
  super.overAndUnderCenterOpacity,
  super.spacing = 0,
  super.textHeightBehavior = const TextHeightBehavior(
    applyHeightToFirstAscent: false,
    applyHeightToLastDescent: false,
  ),
  super.selectionHeightAdjustment = 5,
});