db4bf5dbc1
Test / test (push) Successful in 3m15s
Signed-off-by: Peter Siegmund <developer@mars3142.org>
32 lines
841 B
Dart
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: () {
|
|
/* ... */
|
|
},
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|