DownloadButton.android constructor

const DownloadButton.android({
  1. Key? key,
  2. String? link = 'messenger-android.apk',
  3. void onPressed()?,
})

Constructs a DownloadButton for downloading the Android application.

Implementation

const DownloadButton.android({
  super.key,
  this.link = 'messenger-android.apk',
  this.onPressed,
}) : asset = SvgIcons.android,
     title = 'Android',
     download = true;