BasicTimeSelectorDialogConfig class

Constructors

BasicTimeSelectorDialogConfig({String title = 'Select a time', TextStyle titleStyle = const TextStyle(fontWeight: FontWeight.bold, fontSize: 16), String? description, TextStyle? descriptionStyle, Color? backgroundColor, double? elevation, ShapeBorder? shape, Widget confirmButtonBuilder(TimeOfDay value)?, String confirmButtonText = 'Confirm', Widget cancelButtonBuilder()?, String cancelButtonText = 'Cancel', EdgeInsets? padding, Widget builder(BasicTimeSelector basicTimeSelector, TimeOfDay? selectedTime)?, List<Widget> extraContent = const []})
const

Properties

backgroundColor Color?
The background color for the dialog
final
builder Widget Function(BasicTimeSelector basicTimeSelector, TimeOfDay? selectedTime)?
This is a Builder for the content of the dialog, the parameter value is the BasicTimeSelector you should use in the builder.
final
cancelButtonBuilder Widget Function()?
A builder for the cancel button, if not provided a default TextButton will be used
final
cancelButtonText String
The text used for the cancel button (ignored if cancelButtonBuilder is used)
final
confirmButtonBuilder Widget Function(TimeOfDay value)?
A builder for the confirm button, if not provided a default TextButton will be used
final
confirmButtonText String
The text used for the confirm button (ignored if confirmButtonBuilder is used)
final
description String?
A description for the dialog, that goes right below the title
final
descriptionStyle TextStyle?
The TextStyle for the description of the dialog
final
elevation double?
The elevation for the dialog
final
extraContent List<Widget>
Extra content that will go right below the BasicTimeSelector on the dialog
final
hashCode int
The hash code for this object.
no setterinherited
padding EdgeInsets?
The padding for for the actions (the confirm and cancel buttons, or the builders) and for the content
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ShapeBorder?
The shape for the dialog
final
title String
A title for the dialog
final
titleStyle TextStyle
The TextStyle for the title of the dialog
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited