FDateTimePickerStyle constructor
const
FDateTimePickerStyle({
- required TextStyle textStyle,
- required Decoration selectionDecoration,
- required FFocusedOutlineStyle focusedOutlineStyle,
- required Future<
void> hapticFeedback(), - double diameterRatio = 1.07,
- double squeeze = 1,
- double magnification = 1,
- double overAndUnderCenterOpacity = 0.25,
- double spacing = 0,
- TextHeightBehavior textHeightBehavior = const TextHeightBehavior(applyHeightToFirstAscent: false, applyHeightToLastDescent: false),
- double selectionHeightAdjustment = 5,
- int dateFlex = 3,
- int hourFlex = 1,
- int minuteFlex = 1,
- int periodFlex = 1,
- EdgeInsetsDirectional padding = const .only(start: 10, end: 10),
Creates a FDateTimePickerStyle.
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),
});