TextFieldDataCardElement class
{@image } For use with a DataDetailView, allows the user to read and write a single-line text field from a storage layer that you implement.
- Inheritance
-
- Object
- DataDetailCard
- TextFieldDataCardElement
Constructors
- TextFieldDataCardElement({required dynamic dataLabel, required TextEditingController textEditingController, required dynamic onFinishEditing})
Properties
- dataLabel → String
-
The string describing what the data is
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTextEnabled ↔ bool
-
getter/setter pair
- onFinishEditing → VoidCallback
-
Any code that should run when the user finishes editing the field.
This should be where your logic code that modifies a DB entry / object goes.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textEditingController → TextEditingController
-
final
Methods
-
editInformation(
) → void -
Telling the master to make the observers update
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
returnEditDataCard(
) → Widget -
A function that should return an edit-only data card.
override
-
returnReadDataCard(
) → Widget -
A function that should return a read-only data card
override
-
saveInformation(
) → void -
Telling the master to make the observers run the 'onFinishEditing' function
inherited
-
textFieldElement(
) → StandardTextFieldComponent -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited