FlenxFloatingButton constructor

const FlenxFloatingButton({
  1. required String href,
  2. String label = '',
  3. String icon = '💬',
  4. String? iconImage,
  5. String background = '#2563eb',
  6. String textColor = '#ffffff',
  7. FlenxCorner corner = FlenxCorner.bottomRight,
  8. bool newTab = true,
  9. double offset = 20,
  10. bool pulse = false,
  11. String pulseColor = 'rgba(37,99,235,.55)',
  12. String? trackEvent,
  13. 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,
});