Deleted todos form the new item dialog route

This commit is contained in:
Mariano Uvalle 2019-03-31 16:59:08 -06:00
parent 3ac4e919c0
commit 897b9fa6a7
2 changed files with 7 additions and 4 deletions

View file

@ -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 = ''});

View file

@ -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);
}