First commit
This commit is contained in:
20
lib/screens/home_screen.dart
Normal file
20
lib/screens/home_screen.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../widgets/data_section.dart';
|
||||
|
||||
class HomeScreen extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: Text('Fuel Stats')),
|
||||
body: SingleChildScrollView(
|
||||
child: Column(
|
||||
children: [
|
||||
DataSection(title: 'Fuel Consumption'),
|
||||
DataSection(title: 'Cost Over Time'),
|
||||
DataSection(title: 'Mileage Trends'),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user