Files
toaster/apps/lib/features/home/home_screen.dart
T
mars3142 db4bf5dbc1
Test / test (push) Successful in 3m15s
new scaffold and add toast_card
Signed-off-by: Peter Siegmund <developer@mars3142.org>
2026-04-18 16:56:51 +02:00

32 lines
841 B
Dart

import 'package:toaster_ui/toaster_ui.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Column(
mainAxisAlignment: .center,
children: [
Padding(
padding: EdgeInsets.symmetric(horizontal: context.appSpacing.md),
child: ToastCard(
icon: Icons.chat_bubble_outline,
title: 'Messages',
timestamp: '10:42 AM',
content: 'New message received from +1 (555) 019-2834',
tags: ['res/values/strings.xml', 'en-US'],
onDelete: () {
/* ... */
},
),
),
],
),
),
);
}
}