PrismFieldCommon class
Base configuration shared by all fields.
- Annotations
Constructors
-
PrismFieldCommon({required String name, String? label, String? hint, List<
PrismValidator> validators = const [], bool enabled = true}) -
Creates shared field configuration.
const
Properties
- enabled → bool
-
Whether the field accepts input.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
Hint text inside the field.
final
- label → String?
-
Label rendered above the field.
final
- name → String
-
Value key inside the controller's PrismFormController.values.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validators
→ List<
PrismValidator> -
Validation rules; first failing message wins.
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