PayorcSdkButtonCustomization class
Host customization for primary SDK buttons (LoaderButton, AppButton, etc.).
Pass to PayorcSdk.customization as button. Non-null fields merge with
previous calls and checkout defaults.
Mirrors common partner button options (fill, label color, outline, size) without pulling in external UI packages.
Constructors
- PayorcSdkButtonCustomization({Color? backgroundColor, Color? foregroundColor, Color? disabledBackgroundColor, Color? sideBorderColor, double? borderRadius, double? height, FontWeight? fontWeight, Color? loadingIndicatorColor})
-
const
Properties
- backgroundColor → Color?
-
Primary CTA background (same role as former
buttonColoron PayorcSdk.customization).final - borderRadius → double?
-
Corner radius for filled / outlined CTAs.
final
- disabledBackgroundColor → Color?
-
Background when the button is disabled / no action.
final
- fontWeight → FontWeight?
-
Label weight on primary CTAs.
final
- foregroundColor → Color?
-
Text and icon color on the primary button.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
Minimum tap height for default SDK buttons.
final
- loadingIndicatorColor → Color?
-
CircularProgressIndicator color when LoaderButton.isLoading is true.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sideBorderColor → Color?
-
When non-null, draws a 1px outline (outline / bordered style).
final
Methods
-
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