ItemBuilderOptions class

ItemBuilderOptions is a class to store all settings for a field in the profile page.

InputDecoration sets the decoration for all standard textfields. This is overridden if a field specific decoration is set by inputDecorationField.

inputDecorationField sets the inputdecoration by key of the user data field. So a field can have its own specific decoration.

Validator can be used to set a validator for the standard textfield.

Constructors

ItemBuilderOptions({InputDecoration inputDecoration = const InputDecoration(constraints: BoxConstraints(maxWidth: 200, maxHeight: 40)), Map<String, InputDecoration>? inputDecorationField, bool readOnly = false, Map<String, String? Function(String?)>? validators, Map<String, TextInputType>? keyboardType, TextStyle? inputTextStyle})

Properties

hashCode int
The hash code for this object.
no setterinherited
inputDecoration InputDecoration
final
inputDecorationField Map<String, InputDecoration>?
final
inputTextStyle TextStyle?
TextStyle for the input fields
final
keyboardType Map<String, TextInputType>?
final
readOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validators Map<String, String? Function(String?)>?
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