NmSettingsField class
Field of an NmSettingsForm.
- Annotations
Constructors
- NmSettingsField({required String key, required String label, String? validate(String value)?, String? hint, bool obscure = false, TextInputType? keyboardType})
-
Creates an NmSettingsField.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
Placeholder.
final
- key → String
-
Key in the controller's values.
final
- keyboardType → TextInputType?
-
Keyboard to show (number, email, …).
final
- label → String
-
Field label.
final
- obscure → bool
-
Hides the input (passwords).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validate → String? Function(String value)?
-
Returns an error text, or null when valid.
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