BloomNativePaymentButton class
Displays the official Apple Pay button and emits a tap event. This package does not create a payment request or authorize/complete a transaction.
- Inheritance
-
- Object
- BloomNativeNode
- BloomNativePaymentButton
- Available extensions
Constructors
- BloomNativePaymentButton({String? key, BloomNativePaymentButtonType type = BloomNativePaymentButtonType.buy, BloomNativePaymentButtonStyle style = BloomNativePaymentButtonStyle.black, double? cornerRadius, VoidCallback? onPressed})
Properties
-
children
→ List<
BloomNativeNode> -
finalinherited
-
events
→ Map<
String, ValueChanged< Object?> > -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
Stable among siblings. Supply keys to preserve focus/state when reordering.
finalinherited
-
props
→ Map<
String, Object?> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slots
→ Map<
String, BloomNativeNode> -
finalinherited
- type → String
-
finalinherited
Methods
-
accessibility(
{String? key, String? label, String? hint, String? value, String? identifier, BloomNativeAccessibilityChildren? children, Set< BloomNativeAccessibilityTrait> traits = const {}, List<BloomNativeAccessibilityAction> actions = const [], ValueChanged<BloomNativeAccessibilityAdjustment> ? onAdjust, bool? focused, ValueChanged<bool> ? onFocusChanged, }) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeLayout extension
-
background(
Color color, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeLayout extension
-
backgroundExtension(
{bool enabled = true, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
Extends artwork behind native sidebars and inspectors on iOS 26. -
clip(
{double cornerRadius = 16, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
-
colorScheme(
BloomNativeColorScheme value, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
-
direction(
TextDirection direction, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
-
disabled(
bool value, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeLayout extension
-
draggableText(
String text, {BloomNativeNode? preview, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
A system text drag source, including cross-app drags (iOS 16+). -
draggableUrl(
Uri url, {BloomNativeNode? preview, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
A system URL drag source. The URL must have an absolute scheme (iOS 16+). -
dropDestination(
{required ValueChanged< BloomNativeDrop> onDrop, bool urls = false, bool enabled = true, ValueChanged<bool> ? onTargetedChanged, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
A native drop destination. Disabled destinations reject drops. -
frame(
{String? key, double? width, double? height, bool expandWidth = false, bool expandHeight = false, BloomNativeAlignment alignment = BloomNativeAlignment.center}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeLayout extension
-
glass(
{String? key, BloomNativeGlassMaterial material = BloomNativeGlassMaterial.regular, BloomNativeGlassShape shape = BloomNativeGlassShape.roundedRectangle, double cornerRadius = 24, Color? tint, bool interactive = false, String? effectId, String? unionId, BloomNativeGlassTransition transition = BloomNativeGlassTransition.matchedGeometry}) → BloomNativeGlass -
Available on BloomNativeNode, provided by the BloomNativeGlassModifiers extension
-
locale(
String identifier, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
-
Available on BloomNativeNode, provided by the BloomNativeLayout extension
Sets the title of a destination within an existing native navigation stack. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
opacity(
double value, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeLayout extension
-
padding(
double all, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeLayout extension
-
safeArea(
{bool ignore = true, BloomNativeEdge edges = BloomNativeEdge.all, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
-
safeAreaBarHorizontal(
BloomNativeNode bar, {required BloomNativeSafeAreaBarHorizontal edge, double? spacing, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
iOS 26safeAreaBaron a horizontal edge (leading or trailing). -
safeAreaBarVertical(
BloomNativeNode bar, {required BloomNativeSafeAreaBarVertical edge, double? spacing, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
iOS 26safeAreaBaron a vertical edge (top or bottom). -
scrollEdge(
{BloomNativeScrollEdgeStyle style = BloomNativeScrollEdgeStyle.automatic, BloomNativeEdge edges = BloomNativeEdge.all, String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
-
tint(
Color color, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeLayout extension
-
toMap(
) → Map< String, Object?> -
Serializes this hierarchy without callbacks.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transitionSource(
String id, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
Identify the native source of a system zoom navigation/presentation transition. -
zoomTransition(
String sourceId, {String? key}) → BloomNativeNode -
Available on BloomNativeNode, provided by the BloomNativeEffects extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited