Solian/lib/widgets/sidebar/empty_placeholder.dart

19 lines
483 B
Dart
Raw Normal View History

2024-06-27 06:31:15 +00:00
import 'package:flutter/material.dart';
class EmptyPagePlaceholder extends StatelessWidget {
const EmptyPagePlaceholder({super.key});
@override
Widget build(BuildContext context) {
2024-06-27 06:56:09 +00:00
return Material(
color: Theme.of(context).colorScheme.surface,
child: Center(
child: ClipRRect(
borderRadius: const BorderRadius.all(Radius.circular(12)),
child: Image.asset('assets/logo.png', width: 80, height: 80),
),
2024-06-27 06:56:09 +00:00
),
2024-06-27 06:31:15 +00:00
);
}
}