💄 Chat large screen support

This commit is contained in:
2024-06-27 14:31:15 +08:00
parent 43242de659
commit 977cc2e524
7 changed files with 190 additions and 81 deletions

View File

@ -0,0 +1,13 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class EmptyPagePlaceholder extends StatelessWidget {
const EmptyPagePlaceholder({super.key});
@override
Widget build(BuildContext context) {
return Center(
child: Image.asset('assets/logo.png', width: 80, height: 80),
);
}
}

View File

@ -6,18 +6,8 @@ class SidebarPlaceholder extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Center(
child: Container(
constraints: const BoxConstraints(maxWidth: 280),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Icon(Icons.menu_open, size: 48),
const SizedBox(height: 8),
Text('sidebarPlaceholder'.tr, textAlign: TextAlign.center),
],
),
),
return const Center(
child: Icon(Icons.menu_open, size: 50),
);
}
}