DatePickerLayoutSettings constructor
const
DatePickerLayoutSettings({
- Duration pagesScrollDuration = _kPageScrollDuration,
- double dayPickerRowHeight = _kDayPickerRowHeight,
- double monthPickerPortraitWidth = _kMonthPickerPortraitWidth,
- double yearPickerPortraitWidth = _kMonthPickerPortraitWidth,
- int maxDayPickerRowCount = _kMaxDayPickerRowCount,
- EdgeInsetsGeometry contentPadding = _kContentPadding,
- EdgeInsetsGeometry cellContentMargin = _kCellContentMargin,
- bool showNextMonthStart = false,
- bool showPrevMonthEnd = false,
- ScrollPhysics? scrollPhysics,
Creates layout settings for the date picker.
Usually used in DayPicker, WeekPicker, RangePicker and MonthPicker.
Implementation
const DatePickerLayoutSettings({
this.pagesScrollDuration = _kPageScrollDuration,
this.dayPickerRowHeight = _kDayPickerRowHeight,
this.monthPickerPortraitWidth = _kMonthPickerPortraitWidth,
this.yearPickerPortraitWidth = _kMonthPickerPortraitWidth,
this.maxDayPickerRowCount = _kMaxDayPickerRowCount,
this.contentPadding = _kContentPadding,
this.cellContentMargin = _kCellContentMargin,
this.showNextMonthStart = false,
this.showPrevMonthEnd = false,
this.hideMonthNavigationRow = false,
this.scrollPhysics,
});