Skip to content

Commit

Permalink
Formatted dart
Browse files Browse the repository at this point in the history
  • Loading branch information
wdan31 committed Oct 26, 2024
1 parent f2a3fb4 commit ccaa96a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions flutter_app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
);
}
Expand Down
4 changes: 2 additions & 2 deletions flutter_app/lib/widgets/nav_bar_widget.dart
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit ccaa96a

Please sign in to comment.