ThemedDynamicCredentialsInput class

Inheritance

Constructors

ThemedDynamicCredentialsInput({Key? key, required Map<String, dynamic> value, required List<CredentialField> fields, CredentialOnChanged? onChanged, Map<String, dynamic> errors = const {}, String translatePrefix = '', bool isEditing = true, String? layrzGeneratedToken, String? nested, void actionCallback(CredentialFieldAction)?, bool isLoading = false})
ThemedDynamicCredentialsInput is a dynamic credentials input. Layrz uses this input to generate the dynamic credentials form some models. In Layrz API represents the field credentials of the entities, like InboundProtocol or OutboundProtocol. To get more information about that, please read the documentation of the Layrz API and/or the field fields of this class.
const

Properties

actionCallback → void Function(CredentialFieldAction)?
actionCallback is the callback function when the credentials are changed.
final
errors Map<String, dynamic>
errors is the list of errors of the credentials.
final
fields List<CredentialField>
fields is the list of fields of the credentials.
final
hashCode int
The hash code for this object.
no setterinherited
isEditing bool
isEditing is the state of the credentials being edited.
final
isLoading bool
isLoading is the state of the credentials being loaded.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
layrzGeneratedToken String?
layrzGeneratedToken is the token generated by Layrz API.
final
nested String?
nested is the nested field of the credentials.
final
onChanged CredentialOnChanged?
onChanged is the callback function when the credentials are changed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translatePrefix String
translatePrefix is the prefix of the translations of the credentials.
final
value Map<String, dynamic>
value is the value of the credentials.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ThemedDynamicCredentialsInput>
Creates the mutable state for this widget at a given location in the tree.
override
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.
inherited
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