showNoInternetBottomSheet method
Implementation
void showNoInternetBottomSheet(BuildContext context) {
showModalBottomSheet(
context: context,
builder: (BuildContext context) {
return Container(
padding: EdgeInsets.all(16),
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Icon(Icons.wifi_off_rounded),
Text(
"Whoops",
style: TextStyle(color: Colors.black),
),
Text("Seems Like you have Lost your Connection",
style: TextStyle(color: Colors.grey))
],
),
);
},
);
}