FLineCalendarManagedControl constructor

const FLineCalendarManagedControl({
  1. FCalendarController<DateTime?>? controller,
  2. DateTime? initial,
  3. Predicate<DateTime>? selectable,
  4. bool? toggleable,
  5. ValueChanged<DateTime?>? onChange,
})

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._();