Projects Details (error)
This commit is contained in:
@@ -167,6 +167,7 @@ class _TasksState extends State<Tasks> {
|
||||
children: [
|
||||
(relatedProjects.isNotEmpty)
|
||||
? Container(
|
||||
margin: EdgeInsets.symmetric(horizontal: 5),
|
||||
padding: EdgeInsets.symmetric(horizontal: 10),
|
||||
decoration:
|
||||
BoxDecoration(borderRadius: BorderRadius.circular(10), color: Colors.black26),
|
||||
@@ -185,6 +186,18 @@ class _TasksState extends State<Tasks> {
|
||||
Container(margin: EdgeInsets.fromLTRB(15, 0, 15, 10), height: 2, color: color)
|
||||
]),
|
||||
),
|
||||
(selecting)
|
||||
? InkWell(
|
||||
child:Container(margin:EdgeInsets.all(8),child: Icon(Icons.edit)),
|
||||
onTap: () {
|
||||
print('edit $name : $catName : $relatedProjects');
|
||||
|
||||
Navigator.of(context).push(MaterialPageRoute(builder: (context)=> NewTask(t_name: name, t_cat: catName, t_relProj: (relatedProjects.isEmpty)? null : relatedProjects,))).then((value){setState(() {
|
||||
|
||||
});});
|
||||
|
||||
})
|
||||
: Container(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user