Project section started
This commit is contained in:
@@ -31,6 +31,7 @@ class _NewTaskState extends State<NewTask> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
List<String> cats = getCategoryNames();
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: Text('New Task Type')),
|
||||
body: Container(
|
||||
@@ -77,7 +78,7 @@ class _NewTaskState extends State<NewTask> {
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
value: selectedCat,
|
||||
isExpanded: true,
|
||||
items: getCategoryNames().map<DropdownMenuItem<String>>(
|
||||
items: cats.map<DropdownMenuItem<String>>(
|
||||
(String value) {
|
||||
|
||||
return DropdownMenuItem<String>(
|
||||
|
||||
Reference in New Issue
Block a user