FLineCalendarScrollManagedControl constructor
const
FLineCalendarScrollManagedControl({
- FLineCalendarScrollController? controller,
- DateTime? start,
- DateTime? end,
- DateTime? today,
- DateTime? initialDate,
- AlignmentDirectional? initialAlignment,
- ValueChanged<
double> ? onChange,
Creates a FLineCalendarScrollManagedControl.
Contract
Throws AssertionError if controller is provided alongside any other parameter (except onChange). Pass the
other parameters to the controller instead.
Implementation
const new({this.controller, this.start, this.end, this.today, this.initialDate, this.initialAlignment, this.onChange})
: assert(
controller == null ||
(start == null && end == null && today == null && initialDate == null && initialAlignment == null),
'Cannot provide both controller and other parameters. Pass these parameters to the controller instead.',
),
super._();