Added report functionality and Dropbox connection
This commit is contained in:
parent
483fbeafb6
commit
c7494eda92
8 changed files with 614 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ import 'package:provider/provider.dart';
|
|||
import '../models/vehicle.dart';
|
||||
import '../services/app_state.dart';
|
||||
import 'add_edit_vehicle_screen.dart';
|
||||
import 'report_screen.dart';
|
||||
import 'settings_screen.dart';
|
||||
import 'vehicle_detail_screen.dart';
|
||||
|
||||
|
|
@ -19,6 +20,13 @@ class HomeScreen extends StatelessWidget {
|
|||
appBar: AppBar(
|
||||
title: const Text('My Vehicles'),
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.summarize_outlined),
|
||||
tooltip: 'Fuel Report',
|
||||
onPressed: () => Navigator.of(context).push(
|
||||
MaterialPageRoute(builder: (_) => const ReportScreen()),
|
||||
),
|
||||
),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.settings_outlined),
|
||||
tooltip: 'Settings',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue