Solian/lib/widgets/empty.dart

26 lines
689 B
Dart
Raw Normal View History

2024-05-01 16:49:38 +00:00
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
class PageEmptyWidget extends StatelessWidget {
const PageEmptyWidget({super.key});
2024-05-01 16:49:38 +00:00
@override
Widget build(BuildContext context) {
return Material(
child: Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Image.asset('assets/logo.png', width: 64, height: 64),
const SizedBox(height: 2),
Text(
AppLocalizations.of(context)!.appName,
style: const TextStyle(fontSize: 18, fontWeight: FontWeight.w900),
),
],
),
2024-05-01 16:49:38 +00:00
),
);
}
}