41 lines
1.2 KiB
Dart
41 lines
1.2 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:traderscircuit/Utils/Common/sized_box.dart';
|
|
|
|
class NoInternet extends StatefulWidget {
|
|
const NoInternet({super.key});
|
|
|
|
@override
|
|
State<NoInternet> createState() => _NoInternetState();
|
|
}
|
|
|
|
class _NoInternetState extends State<NoInternet> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 16),
|
|
child: Container(
|
|
width: double.infinity,
|
|
height: 900.h,
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
Text(
|
|
'No Internet !',
|
|
style: TextStyle(fontWeight: FontWeight.bold, fontSize: 20),
|
|
),
|
|
sizedBoxHeight(15.h),
|
|
Text(
|
|
'Please Check Your Internet\nConnection',
|
|
style: TextStyle(fontWeight: FontWeight.bold, fontSize: 20),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|