Projects Details (error)

This commit is contained in:
Sewmina
2022-03-27 21:16:29 +05:30
parent f64ac7efbd
commit 2f280f1795
11 changed files with 429 additions and 55 deletions

View File

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