FooterBlock constructor

const FooterBlock({
  1. Key? key,
  2. double? width,
  3. FooterBlockDevice device = FooterBlockDevice.auto,
  4. double breakpoint = 500.0,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(24.0),
  6. String email = 'kharkarnayan00@gmail.com',
  7. Widget? emailWidget,
  8. bool hasCopyButton = true,
  9. IconData copyButtonIcon = Icons.content_copy_outlined,
  10. VoidCallback? onCopyTap,
  11. String socialLabel = 'Find me on ',
  12. Widget? socialLabelWidget,
  13. bool hasSocial = true,
  14. List<FooterSocialLink>? socialLinks,
})

Creates a FooterBlock instance.

Implementation

const FooterBlock({
  super.key,
  this.width,
  this.device = FooterBlockDevice.auto,
  this.breakpoint = 500.0,
  this.padding = const EdgeInsets.all(24.0),
  this.email = 'kharkarnayan00@gmail.com',
  this.emailWidget,
  this.hasCopyButton = true,
  this.copyButtonIcon = Icons.content_copy_outlined,
  this.onCopyTap,
  this.socialLabel = 'Find me on ',
  this.socialLabelWidget,
  this.hasSocial = true,
  this.socialLinks,
});