UIAdjust class

Optional UI adjust configuration for the paysheet UI.

Constructors

UIAdjust({List<Widget>? u, Color? backgroundColor, double? sheetCornerRadius, Color? merchantHeaderColor, double? merchantHeaderElevation, TextStyle? merchantNameTextStyle, TextStyle? merchantInfoTextStyle, TextStyle? summaryTitleTextStyle, TextStyle? summaryItemTextStyle, Color? buttonBackgroundColor, Color? buttonForegroundColor, TextStyle? buttonTextStyle, EdgeInsets? contentPadding})
Optional configuration and an optional u list of widgets.
const

Properties

backgroundColor Color?
final
buttonBackgroundColor Color?
final
buttonForegroundColor Color?
final
buttonTextStyle TextStyle?
final
contentPadding EdgeInsets?
final
hashCode int
The hash code for this object.
no setterinherited
merchantHeaderColor Color?
final
merchantHeaderElevation double?
final
merchantInfoTextStyle TextStyle?
final
merchantNameTextStyle TextStyle?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sheetCornerRadius double?
final
summaryItemTextStyle TextStyle?
final
summaryTitleTextStyle TextStyle?
final

Methods

merge(UIAdjust? other) UIAdjust
Merge user-provided ui adjust with defaults; user values override defaults except for background/button backgrounds which remain white and blue values are ignored.
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

Constants

defaults → const UIAdjust
Default UI adjust used by the paysheet. Backgrounds/button backgrounds are always white by design; never use blue as a background.