TextViewDataCardElement class
{@image } For use with a DataDetailView, allows the user to read and write a multi-line text view from a storage layer that you implement.
- Inheritance
-
- Object
- DataDetailCard
- TextViewDataCardElement
Constructors
- TextViewDataCardElement({required dynamic dataLabel, required dynamic onFinishEditing, required TextEditingController textEditingController})
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
-
textViewElement(
) → TextViewComponent -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited