GNDownloadButton constructor

const GNDownloadButton({
  1. Key? key,
  2. required String url,
  3. String? text,
  4. Color? color,
  5. IconData? icon,
  6. dynamic onTap()?,
  7. bool isOnlyView = false,
  8. bool isShowDownloadButtonInViewMode = true,
})

Implementation

const GNDownloadButton({
  super.key,
  required this.url,
  this.text,
  this.color,
  this.icon,
  this.onTap,
  this.isOnlyView = false,
  this.isShowDownloadButtonInViewMode = true,
});