downloadingSnackBar property
Implementation
final downloadingSnackBar = SnackBar(
content: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: const [
// SvgPicture.asset(
// R.svg.asset.download_icon.assetName,
// height: 24.h,
// width: 24.w,
// ),
Icon(
Icons.download,
size: 24,
),
Text('Downloading',
style: TextStyle(
height: 1.35,
fontSize: 14,
fontWeight: FontWeight.w400,
)),
],
),
duration: const Duration(days: 1),
action: SnackBarAction(
label: '✕',
textColor: zero066FF,
onPressed: () {},
),
behavior: SnackBarBehavior.floating,
shape: RoundedRectangleBorder(
side: const BorderSide(color: zero066FF, width: 0.5),
borderRadius: BorderRadius.circular(4),
),
backgroundColor: f5f9ff,
);