diff --git a/lib/src/widgets/custom_app_bar.dart b/lib/src/widgets/custom_app_bar.dart index d6b60da..32f2f2a 100644 --- a/lib/src/widgets/custom_app_bar.dart +++ b/lib/src/widgets/custom_app_bar.dart @@ -1,7 +1,14 @@ import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; +//TODO: add support for tabed navigation. + +/// A custom app bar to match the DO> design rules. +/// +/// This app bar is meant to be usen in screens that are not the home screen. +/// It will always contain a back button that pops the current screen. class CustomAppBar extends StatelessWidget implements PreferredSizeWidget { + /// The title for the app bar. final String title; CustomAppBar({this.title = ''}); diff --git a/lib/src/widgets/new_item_dialog_route.dart b/lib/src/widgets/new_item_dialog_route.dart index c029e05..ed0b5b6 100644 --- a/lib/src/widgets/new_item_dialog_route.dart +++ b/lib/src/widgets/new_item_dialog_route.dart @@ -7,15 +7,12 @@ import './new_item_dialog_button.dart'; /// add a new picture. class NewItemDialogRoute extends PopupRoute { @override - // TODO: implement barrierColor Color get barrierColor => Color.fromRGBO(255, 255, 255, 0.5); @override - // TODO: implement barrierDismissible bool get barrierDismissible => true; @override - // TODO: implement barrierLabel String get barrierLabel => null; @override @@ -52,6 +49,5 @@ class NewItemDialogRoute extends PopupRoute { } @override - // TODO: implement transitionDuration Duration get transitionDuration => Duration(milliseconds: 300); }