34 lines
776 B
Dart
34 lines
776 B
Dart
|
|
import 'package:flutter/material.dart';
|
||
|
|
import 'package:fcs/widget/local_text.dart';
|
||
|
|
|
||
|
|
|
||
|
|
class Offline extends StatefulWidget {
|
||
|
|
@override
|
||
|
|
_OfflineState createState() => _OfflineState();
|
||
|
|
}
|
||
|
|
|
||
|
|
class _OfflineState extends State<Offline> {
|
||
|
|
|
||
|
|
@override
|
||
|
|
Widget build(BuildContext context) {
|
||
|
|
final retryButton = Card(
|
||
|
|
elevation: 23,
|
||
|
|
child: Padding(
|
||
|
|
padding: const EdgeInsets.all(8.0),
|
||
|
|
child: Column(
|
||
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
||
|
|
children: <Widget>[
|
||
|
|
Icon(Icons.offline_bolt),
|
||
|
|
LocalText(context, "offline.status"),
|
||
|
|
],
|
||
|
|
),
|
||
|
|
),
|
||
|
|
);
|
||
|
|
|
||
|
|
return Scaffold(
|
||
|
|
body: Center(child: retryButton),
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|