mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-06 01:15:44 -06:00
26 lines
730 B
Dart
26 lines
730 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:paperless_mobile/generated/l10n/app_localizations.dart';
|
|
|
|
class OfflineWidget extends StatelessWidget {
|
|
const OfflineWidget({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
padding: const EdgeInsets.all(16.0),
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Icon(Icons.wifi_off,
|
|
color: Theme.of(context).disabledColor,
|
|
size: (Theme.of(context).iconTheme.size ?? 24) * 3),
|
|
Text(
|
|
S.of(context)!.anInternetConnectionCouldNotBeEstablished,
|
|
textAlign: TextAlign.center,
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|