24 lines
543 B
Dart
24 lines
543 B
Dart
import 'package:energy_bilance/widgets/MyAppBar.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class MyScaffold extends StatelessWidget {
|
|
const MyScaffold({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Material(
|
|
child: Column(
|
|
children: [
|
|
MyAppBar(title: Text('MyAppBar', style: Theme.of(context).primaryTextTheme.headline6)),
|
|
const Expanded(child:
|
|
Center(
|
|
child: Text("Hello World!"),
|
|
)
|
|
)
|
|
],
|
|
),
|
|
);
|
|
}
|
|
|
|
|
|
} |