New project started, Single step page started
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:tasktracker/NewProject.dart';
|
||||
import 'User.dart' as User;
|
||||
import 'main.dart';
|
||||
class Projects extends StatefulWidget {
|
||||
@@ -14,7 +15,7 @@ class _ProjectsState extends State<Projects> {
|
||||
return SafeArea(child: Scaffold(
|
||||
floatingActionButton: FloatingActionButton.extended(
|
||||
onPressed: () {
|
||||
// Navigator.of(context).push(MaterialPageRoute(builder: (context) => NewTodo())).then((value) => {User.refreshUserData().then((va) => {})});
|
||||
Navigator.of(context).push(MaterialPageRoute(builder: (context) => NewProject())).then((value) => {User.refreshUserData().then((va) => {})});
|
||||
},
|
||||
label: Text("New Project"),
|
||||
icon: Icon(Icons.add)),
|
||||
@@ -97,13 +98,4 @@ class _ProjectsState extends State<Projects> {
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Widget prioritySeperator(String text){
|
||||
return Padding(
|
||||
padding: const EdgeInsets.fromLTRB(15,15,15,0),
|
||||
child: Row(
|
||||
children: [Text(text,style:TextStyle(fontSize: 18, color: Colors.grey))],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user