Skip to content

Commit 4d3b85f

Browse files
authored
add no internet widget
1 parent 24e2976 commit 4d3b85f

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

lib/core/widgets/no_internet.dart

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import 'package:flutter/material.dart';
2+
3+
class BuildNoInternet extends StatelessWidget {
4+
const BuildNoInternet({super.key});
5+
6+
@override
7+
Widget build(BuildContext context) {
8+
return Container(
9+
color: Colors.white,
10+
child: Column(
11+
mainAxisAlignment: MainAxisAlignment.center,
12+
children: [
13+
Image.asset(
14+
'assets/images/no-internet.png',
15+
),
16+
],
17+
),
18+
);
19+
}
20+
}

0 commit comments

Comments
 (0)