CustomSheet class
This class provides custom payment sheet which contains various SheetControls.
Constructors
- CustomSheet()
- Constructor to create CustomSheet. CustomSheet is used to contain various SheetControls.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sheetControls
↔ List<
SheetControl> ? -
getter/setter pair
Methods
-
addControl(
SheetControl sheetControl, {int? location}) → void - API to add SheetControl (add SheetControl in specific location).
-
getSheetControl(
String controlId) → SheetControl? - API to get SheetControl.
-
getSheetControls(
) → List< SheetControl> ? - API to get SheetControl list.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeControl(
SheetControl sheetControl) → bool - API to remove SheetControl.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateControl(
SheetControl sheetControl) → bool - API to update SheetControl.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited