pickerBuilder property

Future<DateTimeRange?> Function(BuildContext context, DateTimeRange currentDateTimeRange) pickerBuilder
final

Builder to call picker.

context is passed the context in which the builder was invoked.

The current date range is passed to currentDateTimeRange.

Return the date range selected by the picker.

ピッカーを呼び出すためのビルダー。

contextにはビルダーが呼び出された際のコンテキストが渡されます。

currentDateTimeRangeには現在の日付範囲が渡されます。

ピッカーで選択された日付範囲を返してください。

Implementation

final Future<DateTimeRange?> Function(
  BuildContext context,
  DateTimeRange currentDateTimeRange,
) pickerBuilder;