ModernShareButtonOptions class

Configuration options for a single share button in ModernShareButtonsComponent.

Defines the appearance and action for one social sharing button with modern glassmorphic styling and animated interactions.

Constructors

ModernShareButtonOptions.new({required VoidCallback action, IconData? icon, bool show = true, Color? backgroundColor, Color? iconColor, String? tooltip})

Properties

action → VoidCallback
final
backgroundColor → Color?
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
final
iconColor → Color?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
show → bool
final
tooltip → String?
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