createController method

Creates a FDateSelectionController<DateTime?>.

Overriding managed subclasses should always return controller if it is non-null, e.g. return controller ?? MyController();

Implementation

@override
FDateSelectionController<DateTime?> createController() =>
    controller ?? .single(initial: initial, toggleable: toggleable ?? false);