toastLoading function
CancelFunc
toastLoading()
Implementation
CancelFunc toastLoading() => BotToast.showCustomLoading(
toastBuilder: (_) => Container(
width: 80,
height: 80,
padding: const EdgeInsets.all(15),
decoration: const BoxDecoration(
color: Colors.black54,
borderRadius: BorderRadius.all(Radius.circular(8)),
),
child: const CircularProgressIndicator(
color: Colors.blue,
backgroundColor: Colors.white,
),
),
);