Fluent2TimePicker class
Fluent's TimePicker: a select of the day's times every minuteStep minutes, in the field's own dropdown. Null onChanged draws it out of use. showFluent2TimePicker asks with two wheels instead.
Fluent2TimePicker(label: 'Starts', value: const Fluent2Time(9, 30), onChanged: setStart)
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- Fluent2TimePicker
Constructors
-
Fluent2TimePicker({Key? key, required ValueChanged<
Fluent2Time> ? onChanged, Fluent2Time? value, String? label, int minuteStep = 30, bool? use24Hour, Fluent2InputAppearance appearance = Fluent2InputAppearance.outline, Fluent2InputSize size = Fluent2InputSize.medium, bool invalid = false}) -
A time picker.
const
Properties
- appearance → Fluent2InputAppearance
-
Fluent's
appearance.final - hashCode → int
-
The hash code for this object.
no setterinherited
- invalid → bool
-
Draw the error stroke.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → String?
-
Its name.
final
- minuteStep → int
-
The minutes between the times it lists.
final
-
onChanged
→ ValueChanged<
Fluent2Time> ? -
Told the time pressed; null draws it out of use.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Fluent2InputSize
-
Fluent's
size.final - use24Hour → bool?
-
14:30rather than2:30 PM; null follows the platform's setting (MediaQuery.alwaysUse24HourFormatOf).final - value → Fluent2Time?
-
The time chosen.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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.
override
-
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, int wrapWidth = 65}) → 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