flutter-vienna-hackathon-25/wien_talks/wien_talks_flutter/lib/widgets/screen_widget.dart
2025-08-16 13:09:22 +02:00

21 lines
441 B
Dart

import 'package:flutter/material.dart';
class ScreenWidget extends StatelessWidget {
final Widget child;
const ScreenWidget({super.key, required this.child});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('News'),
),
body: SafeArea(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: child,
)),
);
}
}