MyoroTimePickerInputConfiguration class final
Configuration of MyoroTimePickerInput.
- Inheritance
-
- Object
- MyoroInputConfiguration
- MyoroTimePickerInputConfiguration
- Annotations
-
- @immutable
- @myoroModel
Constructors
- MyoroTimePickerInputConfiguration.new({MyoroInputStyleEnum inputStyle = inputStyleDefaultValue, TextAlign textAlign = textAlignDefaultValue, String label = labelDefaultValue, String text = textDefaultValue, Widget? suffix, bool enabled = enabledDefaultValue, bool showClearTextButton = showClearTextButtonDefaultValue, MyoroInputCheckboxOnChanged? checkboxOnChanged, MyoroInputValidation? validation, MyoroInputOnFieldSubmitted? onFieldSubmitted, MyoroInputOnChanged? onChanged, VoidCallback? onCleared, Key? inputKey, TextEditingController? controller})
-
const
- MyoroTimePickerInputConfiguration.fake()
-
factory
Properties
- autofocus → bool
-
Whether the input should focus when it is inserted into the widget tree.
finalinherited
- checkboxOnChanged → MyoroInputCheckboxOnChanged?
-
On changed when the checkbox next to the input is changed.
finalinherited
- controller → TextEditingController?
-
Controller of the input.
finalinherited
- enabled → bool
-
Whether the input is disabled (will be tilted for visual feedback).
finalinherited
- focusNode → FocusNode?
-
FocusNode of the input to programmatically focus on it.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputKey → Key?
-
Key of the TextFormField for specific cases.
finalinherited
- inputStyle → MyoroInputStyleEnum
-
Type of input.
finalinherited
- label → String
-
Label displayed at the top of the input.
finalinherited
- onChanged → MyoroInputOnChanged?
-
Function executed when the input is changed.
finalinherited
- onCleared → VoidCallback?
-
Function executed when
_ClearTextButton
is pressed.finalinherited - onFieldSubmitted → MyoroInputOnFieldSubmitted?
-
Function executed when enter is pressed.
finalinherited
- onTap → VoidCallback?
-
TextFormField.onTap
finalinherited - placeholder → String
-
Placeholder of the input (hint text).
finalinherited
- readOnly → bool
-
Whether the input can be editted by the user.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → MyoroTimePickerInputConfiguration
-
no setterinherited
- showClearTextButton → bool
-
Whether to show
_ClearTextButton
or not.finalinherited - suffix → Widget?
-
Suffix Widget (i.e. a search button).
finalinherited
- text → String
-
Text of the input if controller is not provided.
finalinherited
- textAlign → TextAlign
-
TextAlign of the input.
finalinherited
- textProvided → bool
-
Returns if text was provided.
no setterinherited
- validation → MyoroInputValidation?
-
Function executed when
GlobalKey<FormState>().currentState!.validate()
is called.finalinherited
Methods
-
copyWith(
{MyoroInputStyleEnum? inputStyle, TextAlign? textAlign, String? label, String? text, String? placeholder, Widget? suffix, bool suffixProvided = true, bool? enabled, bool? readOnly, bool? autofocus, bool? showClearTextButton, MyoroInputCheckboxOnChanged? checkboxOnChanged, bool checkboxOnChangedProvided = true, MyoroInputValidation? validation, bool validationProvided = true, MyoroInputOnFieldSubmitted? onFieldSubmitted, bool onFieldSubmittedProvided = true, MyoroInputOnChanged? onChanged, bool onChangedProvided = true, VoidCallback? onCleared, bool onClearedProvided = true, Key? inputKey, bool inputKeyProvided = true, VoidCallback? onTap, bool onTapProvided = true, FocusNode? focusNode, bool focusNodeProvided = true, TextEditingController? controller, bool controllerProvided = true}) → MyoroTimePickerInputConfiguration -
inherited
-
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