ProductFieldNutritionEditor class
- Inheritance
-
- Object
- ProductFieldEditor
- ProductFieldNutritionEditor
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
edit(
{required BuildContext context, required Product product, bool isLoggedInMandatory = true}) → Future< void> -
Opens a page to edit that field for that product.
override
-
getLabel(
AppLocalizations appLocalizations) → String -
Returns a standard "add/edit" button label.
override
-
isPopulated(
Product product) → bool -
Returns true if the field is populated for that product.
override
-
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