FLineCalendarManagedControl constructor
const
FLineCalendarManagedControl({
- FCalendarController<
DateTime?> ? controller, - DateTime? initial,
- Predicate<
DateTime> ? selectable, - bool? toggleable,
- ValueChanged<
DateTime?> ? onChange,
Creates a FLineCalendarControl.
Implementation
const FLineCalendarManagedControl({this.controller, this.initial, this.selectable, this.toggleable, this.onChange})
: assert(
controller == null || initial == null,
'Cannot provide both controller and initial date. Pass initial date to the controller instead.',
),
assert(
controller == null || selectable == null,
'Cannot provide both controller and selectable. Pass selectable to the controller instead.',
),
assert(
controller == null || toggleable == null,
'Cannot provide both controller and toggleable. Pass toggleable to the controller instead.',
),
super._();