daynight_timepicker library Null safety

Functions

createInlinePicker({BuildContext? context, required TimeOfDay value, required void onChange(TimeOfDay), void onChangeDateTime(DateTime)?, bool is24HrFormat = false, Color? accentColor, Color? unselectedColor, String cancelText = "cancel", String okText = "ok", bool isOnChangeValueMode = false, Image? sunAsset, Image? moonAsset, bool blurredBackground = false, Color barrierColor = Colors.black45, double? borderRadius, double? elevation, EdgeInsets? dialogInsetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0), bool barrierDismissible = true, bool iosStylePicker = false, String hourLabel = 'hours', String minuteLabel = 'minutes', MinuteInterval minuteInterval = MinuteInterval.ONE, bool disableMinute = false, bool disableHour = false, double minMinute = 0, double maxMinute = 59, bool displayHeader = true, ThemeData? themeData, bool focusMinutePicker = false, double minHour = double.infinity, double maxHour = double.infinity}) Widget
This method is used to render an inline version of the picker. [...]
showPicker({BuildContext? context, required TimeOfDay value, required void onChange(TimeOfDay), void onChangeDateTime(DateTime)?, bool is24HrFormat = false, Color? accentColor, Color? unselectedColor, String cancelText = "cancel", String okText = "ok", Image? sunAsset, Image? moonAsset, bool blurredBackground = false, Color barrierColor = Colors.black45, double? borderRadius, double? elevation, EdgeInsets? dialogInsetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0), bool barrierDismissible = true, bool iosStylePicker = false, bool displayHeader = true, String hourLabel = 'hours', String minuteLabel = 'minutes', MinuteInterval minuteInterval = MinuteInterval.ONE, bool disableMinute = false, bool disableHour = false, double minMinute = 0, double maxMinute = 59, ThemeData? themeData, bool focusMinutePicker = false, double minHour = double.infinity, double maxHour = double.infinity}) PageRouteBuilder
The function that shows the DayNightTimePicker [...]