FDateTimePickerStyle constructor

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

Implementation

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