diff --git a/flutter_app/lib/main.dart b/flutter_app/lib/main.dart index 593d55f..06ddaf0 100644 --- a/flutter_app/lib/main.dart +++ b/flutter_app/lib/main.dart @@ -18,9 +18,12 @@ class App extends StatelessWidget { ), routes: { '/': (BuildContext context) => HomePage(title: 'WARG IMACS'), - '/logs': (BuildContext context) => const PlaceholderScreen(title: 'Logs'), - '/camera': (BuildContext context) => const PlaceholderScreen(title: 'Camera'), - '/sitl': (BuildContext context) => const PlaceholderScreen(title: 'SITL'), + '/logs': (BuildContext context) => + const PlaceholderScreen(title: 'Logs'), + '/camera': (BuildContext context) => + const PlaceholderScreen(title: 'Camera'), + '/sitl': (BuildContext context) => + const PlaceholderScreen(title: 'SITL'), }, ); } diff --git a/flutter_app/lib/widgets/nav_bar_widget.dart b/flutter_app/lib/widgets/nav_bar_widget.dart index 349b4f8..8caacc0 100644 --- a/flutter_app/lib/widgets/nav_bar_widget.dart +++ b/flutter_app/lib/widgets/nav_bar_widget.dart @@ -1,10 +1,10 @@ import 'package:flutter/material.dart'; /// Widget for navigating between different screens -/// +/// /// This widget displays the different sceeens in tabs along a bar at /// the bottom of the screen. When clicked, each tab will navigate to -/// the corresponding screen. +/// the corresponding screen. class NavBar extends StatelessWidget { /// @brief Constructs a NavBar widget. const NavBar({Key? key}) : super(key: key);