downloadedSnackBar property
Implementation
final downloadedSnackBar = SnackBar(
content: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
// SvgPicture.asset(
// R.svg.asset.downloaded.assetName,
// height: 24.h,
// width: 24.w,
// ),
const Icon(
Icons.download_done,
size: 24,
),
Text(
'Downloaded',
style: satoshiRegular14.copyWith(color: fourDAF3F),
// style: satoshiRegular14.copyWith(color: fourDAF3F),
),
],
),
duration: const Duration(seconds: 2),
action: SnackBarAction(
label: '✕',
textColor: fourDAF3F,
onPressed: () {},
),
behavior: SnackBarBehavior.floating,
shape: RoundedRectangleBorder(
side: const BorderSide(color: fourDAF3F, width: 0.5),
borderRadius: BorderRadius.circular(4),
),
backgroundColor: f1F9F0,
);