FlenxFloatingButton constructor
const
FlenxFloatingButton({
- required String href,
- String label = '',
- String icon = '💬',
- String? iconImage,
- String background = '#2563eb',
- String textColor = '#ffffff',
- FlenxCorner corner = FlenxCorner.bottomRight,
- bool newTab = true,
- double offset = 20,
- bool pulse = false,
- String pulseColor = 'rgba(37,99,235,.55)',
- String? trackEvent,
- Key? key,
Implementation
const FlenxFloatingButton({
required this.href,
this.label = '',
this.icon = '💬',
this.iconImage,
this.background = '#2563eb',
this.textColor = '#ffffff',
this.corner = FlenxCorner.bottomRight,
this.newTab = true,
this.offset = 20,
this.pulse = false,
this.pulseColor = 'rgba(37,99,235,.55)',
this.trackEvent,
super.key,
});