TimeIntervalPicker class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- TimeIntervalPicker
Constructors
- TimeIntervalPicker({Key? key, required DateTime? endLimit, required DateTime? startLimit, required void onChanged(DateTime? startTime, DateTime? endTime, bool isAllDay), bool includeMidnight = true, bool enabled = true, bool? filled, Color? fillColor, Color? borderColor, EdgeInsets? contentPadding, double borderRadius = 8, TextStyle? dropdownTextStyle, Widget? seperatorWidget})
-
const
Properties
- borderColor → Color?
-
Color of InputDecoration.border
final
- borderRadius → double
-
Radius of InputDecoration.border
final
- contentPadding → EdgeInsets?
-
final
- dropdownTextStyle → TextStyle?
-
TextStyle for DropdownMenuItem
final
- enabled → bool
-
if false opacity of remaining visual elements is reduced
final
- endLimit → DateTime?
-
endLimit is the time value for
EndDropdown
final - fillColor → Color?
-
final
- filled → bool?
-
Properties of InputDecoration
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeMidnight → bool
-
if false
Midnight
is not included in DropdownButtonFormFieldfinal - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onChanged → void Function(DateTime? startTime, DateTime? endTime, bool isAllDay)
-
Function returning
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seperatorWidget → Widget?
-
Widget seperating
StartDropdown
andEndDropdown
final - startLimit → DateTime?
-
startLimit is the time value for
StartDropdown
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → TimeIntervalPickerState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited