EditNewPackagingsHelper class
Helper about packaging component edition. Useful with controllers.
Constructors
- EditNewPackagingsHelper.packaging(ProductPackaging packaging, bool initiallyExpanded, {required NumberFormat decimalNumberFormat, required NumberFormat unitNumberFormat})
- Creates all controllers from a packaging.
Properties
- controllerMaterial → TextEditingController
-
final
- controllerQuantity → TextEditingController
-
final
- controllerRecycling → TextEditingController
-
final
- controllerShape → TextEditingController
-
final
- controllerUnits → TextEditingController
-
final
- controllerWeight → TextEditingController
-
final
- decimalNumberFormat → NumberFormat
-
final
- expanded ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unitNumberFormat → NumberFormat
-
final
Methods
-
dispose(
) → void - Disposes all controllers.
-
getPackaging(
) → ProductPackaging - Returns the packaging from the controllers.
-
getSubTitle(
) → String - Returns the packaging subtitle from the controllers
-
getTitle(
) → String? - Returns the packaging title from the controllers, or null if empty.
-
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