SlideShare a Scribd company logo
1 of 2
Download to read offline
Flutter Dart
I have these files in picture I wrote most the codes but I stuck with somethings.
1- I want 10 items each item has Id, Description, name ex List Note: I want the items in
GlobalItems files
2- I want the user able to scroll down and up
3- when the user tab on item he will be able to update the information such name and description
4- there is a delete button at the home page if he want to delete the item
Very Important Note: do not create your code that not relate to my code bc it will be
(((((UNUSEFULL)))
show me you output too
THANKS
Home Page:
Item file
Global Item file
the Second Page that the user will be able to edits class_MyHomePagestate extends state { //
List < Item > item =[ // ]; void_handleButtonPress() { setstate ((){ if (!Globalitems () . items.
contains ( index ) index. Id == item. Id ) ) { Globalitems () . items . add(item); } Navigator .
push(context, MaterialPageRoute(builder: (context) EditItemPage(item: item))) .then ((( value
){ setstate ((){})})); }); }
Widget build(Buildcontext context) { return scaffold( appBar: AppBar ( backgroundColor:
Theme.of(context).colorscheme.inversePrimary, title: Text(widget.title), ), // AppBar body:
Center ( child: Column( mainAxisAlignment: MainAxisAlignment.start, children: Widget>[
Text "Item Information", style: Textstyle(fontsize: 30, fontweight: Fontweight.bold), , // Text
Text ( "Item ID: ${item.Id}", style: TextStyle(fontSize: 20), ), // Text Text( "Item name:
${item.name }, style: Textstyle(fontSize: 20), ), // Text Text( "Item Description: ${item.
Description}", style: TextStyle(fontsize: 20), ), // Text ElevatedButton(
onPressed:_handleButtonPress, child: Text("Edit Items")) // ], // Widget >[] ), // Column
class Item { int Id; String name; String Description; Item(this.Id, this.name, this.Description); }
import 'item.dart'; class GlobalItems { static final GlobalItems_item = GlobalItems._instance();
factory GlobalItems() { | return_item; Globalitems._instance(); List items = [ ]; import
'item.dart'; class Globalitems { static final Globalitems_item = Globalitems._instance(); factory
Globalitems() { return _item; } GlobalItems._instance(); List Item > items =[ ]; }
class EditItemPage extends statefulwidget { final Item item; const EditItemPage({Key? key,
required this.item }) : super(key: key); @override State createstate() EditItemPagestate(item); }
class _EditItemPagestate extends State { EditItemPagestate(item); late Item item = widget.item;
TextEditingController itemNameController = new TextEditingController();
TextEditingController itemDescriptionController = new TextEditingController(); @override
void initstate() { super.initstate(); itemNameController.text = item.name;
itemDescriptioncontroller.text = item.Description; } void_updateitemPressed() { Item
cuurentItem = Globalitems ( ).items.firstwhere ((index) index.Id == item.Id); cuurentItem. name
= itemNameController.text; cuurentItem.Description = itemDescriptioncontroller.text;
cuurentItem.Description = itemDescriptionController.text; Navigator.pop(context); override
idget build(BuildContext context) { return Container( child: Scaffold( appBar: AppBar(
backgroundColor: Theme.of(context).colorscheme.inversePrimary, title: Text("Edit Items $
item.Id }"), ), // AppBar body: Center ( child: Column( mainAxisAlignment:
MainAxisAlignment.start, children: TextField( controller: itemNameController, decoration:
InputDecoration(labelText: "Name")), // TextFie TextField( controller:
itemDescriptionController, decoration: InputDecoration(labelText: "Description")), //
ElevatedButton( onPressed: updateitemPressed, child: Text("Update Item"), ) // ElevatedButton
]), // widget>[] // column ), // Center )); // Scaffold // Container

More Related Content

Similar to Flutter Dart I have these files in picture I wrote most the codes .pdf

-- Write the compiler used- Visual studio or gcc -- Reminder that your.pdf
-- Write the compiler used- Visual studio or gcc -- Reminder that your.pdf-- Write the compiler used- Visual studio or gcc -- Reminder that your.pdf
-- Write the compiler used- Visual studio or gcc -- Reminder that your.pdf
ganisyedtrd
 
written in c- please answer the 4 questions and write the functions ba.pdf
written in c- please answer the 4 questions and write the functions ba.pdfwritten in c- please answer the 4 questions and write the functions ba.pdf
written in c- please answer the 4 questions and write the functions ba.pdf
sravi07
 
HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2
James Pearce
 
-- Reminder that your file name is incredibly important- Please do not.docx
-- Reminder that your file name is incredibly important- Please do not.docx-- Reminder that your file name is incredibly important- Please do not.docx
-- Reminder that your file name is incredibly important- Please do not.docx
Adamq0DJonese
 
Please answer the 4 questions using C- The expected output is shown be.docx
Please answer the 4 questions using C- The expected output is shown be.docxPlease answer the 4 questions using C- The expected output is shown be.docx
Please answer the 4 questions using C- The expected output is shown be.docx
cgraciela1
 
please follow all instructions and answer the inbedded questions- and.pdf
please follow all instructions and answer the inbedded questions- and.pdfplease follow all instructions and answer the inbedded questions- and.pdf
please follow all instructions and answer the inbedded questions- and.pdf
Ian5L3Allanm
 
Written in C- requires linked lists- Please answer the 4 questions and.pdf
Written in C- requires linked lists- Please answer the 4 questions and.pdfWritten in C- requires linked lists- Please answer the 4 questions and.pdf
Written in C- requires linked lists- Please answer the 4 questions and.pdf
sravi07
 
Written in C- requires linked lists- Please answer the 4 questions and (1).pdf
Written in C- requires linked lists- Please answer the 4 questions and (1).pdfWritten in C- requires linked lists- Please answer the 4 questions and (1).pdf
Written in C- requires linked lists- Please answer the 4 questions and (1).pdf
sravi07
 

Similar to Flutter Dart I have these files in picture I wrote most the codes .pdf (20)

Your Entity, Your Code
Your Entity, Your CodeYour Entity, Your Code
Your Entity, Your Code
 
Your Entity, Your Code
Your Entity, Your CodeYour Entity, Your Code
Your Entity, Your Code
 
-- Write the compiler used- Visual studio or gcc -- Reminder that your.pdf
-- Write the compiler used- Visual studio or gcc -- Reminder that your.pdf-- Write the compiler used- Visual studio or gcc -- Reminder that your.pdf
-- Write the compiler used- Visual studio or gcc -- Reminder that your.pdf
 
Documentation For Tab Setup
Documentation For Tab SetupDocumentation For Tab Setup
Documentation For Tab Setup
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 
2190 pertemuan24(polling)
2190 pertemuan24(polling)2190 pertemuan24(polling)
2190 pertemuan24(polling)
 
written in c- please answer the 4 questions and write the functions ba.pdf
written in c- please answer the 4 questions and write the functions ba.pdfwritten in c- please answer the 4 questions and write the functions ba.pdf
written in c- please answer the 4 questions and write the functions ba.pdf
 
HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2HTML5 and the dawn of rich mobile web applications pt 2
HTML5 and the dawn of rich mobile web applications pt 2
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 
-- Reminder that your file name is incredibly important- Please do not.docx
-- Reminder that your file name is incredibly important- Please do not.docx-- Reminder that your file name is incredibly important- Please do not.docx
-- Reminder that your file name is incredibly important- Please do not.docx
 
Please answer the 4 questions using C- The expected output is shown be.docx
Please answer the 4 questions using C- The expected output is shown be.docxPlease answer the 4 questions using C- The expected output is shown be.docx
Please answer the 4 questions using C- The expected output is shown be.docx
 
please follow all instructions and answer the inbedded questions- and.pdf
please follow all instructions and answer the inbedded questions- and.pdfplease follow all instructions and answer the inbedded questions- and.pdf
please follow all instructions and answer the inbedded questions- and.pdf
 
Using Dojo
Using DojoUsing Dojo
Using Dojo
 
Written in C- requires linked lists- Please answer the 4 questions and.pdf
Written in C- requires linked lists- Please answer the 4 questions and.pdfWritten in C- requires linked lists- Please answer the 4 questions and.pdf
Written in C- requires linked lists- Please answer the 4 questions and.pdf
 
Written in C- requires linked lists- Please answer the 4 questions and (1).pdf
Written in C- requires linked lists- Please answer the 4 questions and (1).pdfWritten in C- requires linked lists- Please answer the 4 questions and (1).pdf
Written in C- requires linked lists- Please answer the 4 questions and (1).pdf
 
Health News & Articles | Healthy Living
Health News & Articles | Healthy LivingHealth News & Articles | Healthy Living
Health News & Articles | Healthy Living
 
Java Script and HTML.
Java Script and HTML.Java Script and HTML.
Java Script and HTML.
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
Technology and Science News - ABC News
Technology and Science News - ABC NewsTechnology and Science News - ABC News
Technology and Science News - ABC News
 
Politics News and U.S. Elections Coverage
Politics News and U.S. Elections CoveragePolitics News and U.S. Elections Coverage
Politics News and U.S. Elections Coverage
 

More from info431285

Drow a use case diagram for this 1. User Interface (UI) .pdf
Drow a use case diagram for this 1. User Interface (UI)  .pdfDrow a use case diagram for this 1. User Interface (UI)  .pdf
Drow a use case diagram for this 1. User Interface (UI) .pdf
info431285
 
Doctors Office Visit Narrative Doctor Healy and her administr.pdf
Doctors Office Visit Narrative Doctor Healy and her administr.pdfDoctors Office Visit Narrative Doctor Healy and her administr.pdf
Doctors Office Visit Narrative Doctor Healy and her administr.pdf
info431285
 
Evaluate the Financial Performance of the Clydestone financial har.pdf
Evaluate the Financial Performance of the Clydestone financial har.pdfEvaluate the Financial Performance of the Clydestone financial har.pdf
Evaluate the Financial Performance of the Clydestone financial har.pdf
info431285
 
Do ratio analysis of Abbott India Ltd and answer the below questions.pdf
Do ratio analysis of Abbott India Ltd and answer the below questions.pdfDo ratio analysis of Abbott India Ltd and answer the below questions.pdf
Do ratio analysis of Abbott India Ltd and answer the below questions.pdf
info431285
 

More from info431285 (17)

Explain what the Prolog does and break down what it does step by ste.pdf
Explain what the Prolog does and break down what it does step by ste.pdfExplain what the Prolog does and break down what it does step by ste.pdf
Explain what the Prolog does and break down what it does step by ste.pdf
 
Feet to Inches One foot equals to 12 inches. Design a function name.pdf
Feet to Inches One foot equals to 12 inches. Design a function name.pdfFeet to Inches One foot equals to 12 inches. Design a function name.pdf
Feet to Inches One foot equals to 12 inches. Design a function name.pdf
 
Explain these four concepts with life examples ( simple examples ) .pdf
Explain these four concepts with life examples ( simple examples ) .pdfExplain these four concepts with life examples ( simple examples ) .pdf
Explain these four concepts with life examples ( simple examples ) .pdf
 
Employees Filling Status Pay .pdf
Employees                Filling Status                  Pay        .pdfEmployees                Filling Status                  Pay        .pdf
Employees Filling Status Pay .pdf
 
Economics of discriminationAssignment 1Part 1. Consider the fol.pdf
Economics of discriminationAssignment 1Part 1.  Consider the fol.pdfEconomics of discriminationAssignment 1Part 1.  Consider the fol.pdf
Economics of discriminationAssignment 1Part 1. Consider the fol.pdf
 
E8-3 (Use of Debt Service Fund) For which of the following would a gov.pdf
E8-3 (Use of Debt Service Fund) For which of the following would a gov.pdfE8-3 (Use of Debt Service Fund) For which of the following would a gov.pdf
E8-3 (Use of Debt Service Fund) For which of the following would a gov.pdf
 
following table gives the activity time estimates for an activity in.pdf
following table gives the activity time estimates for an activity in.pdffollowing table gives the activity time estimates for an activity in.pdf
following table gives the activity time estimates for an activity in.pdf
 
DRAW THE ERD DIAGRAM (ENTITY RELATIONSHIP DIAGRAM) , I NEED IT DRAWN.pdf
DRAW THE ERD DIAGRAM (ENTITY RELATIONSHIP DIAGRAM) , I NEED IT DRAWN.pdfDRAW THE ERD DIAGRAM (ENTITY RELATIONSHIP DIAGRAM) , I NEED IT DRAWN.pdf
DRAW THE ERD DIAGRAM (ENTITY RELATIONSHIP DIAGRAM) , I NEED IT DRAWN.pdf
 
Executive SummaryBackground Why is the project being undertaken .pdf
Executive SummaryBackground Why is the project being undertaken .pdfExecutive SummaryBackground Why is the project being undertaken .pdf
Executive SummaryBackground Why is the project being undertaken .pdf
 
Drow a use case diagram for this 1. User Interface (UI) .pdf
Drow a use case diagram for this 1. User Interface (UI)  .pdfDrow a use case diagram for this 1. User Interface (UI)  .pdf
Drow a use case diagram for this 1. User Interface (UI) .pdf
 
Draw a flowchart of the following Work Breakdown Structure (WBS)W.pdf
Draw a flowchart of the following Work Breakdown Structure (WBS)W.pdfDraw a flowchart of the following Work Breakdown Structure (WBS)W.pdf
Draw a flowchart of the following Work Breakdown Structure (WBS)W.pdf
 
Doctors Office Visit Narrative Doctor Healy and her administr.pdf
Doctors Office Visit Narrative Doctor Healy and her administr.pdfDoctors Office Visit Narrative Doctor Healy and her administr.pdf
Doctors Office Visit Narrative Doctor Healy and her administr.pdf
 
Draw the Basic Entity Relationship (ER) and Extended Entity Relation.pdf
Draw the Basic Entity Relationship (ER) and Extended Entity Relation.pdfDraw the Basic Entity Relationship (ER) and Extended Entity Relation.pdf
Draw the Basic Entity Relationship (ER) and Extended Entity Relation.pdf
 
Evaluate the Financial Performance of Benso Oil Palm Plantation.Fina.pdf
Evaluate the Financial Performance of Benso Oil Palm Plantation.Fina.pdfEvaluate the Financial Performance of Benso Oil Palm Plantation.Fina.pdf
Evaluate the Financial Performance of Benso Oil Palm Plantation.Fina.pdf
 
Find one real world software projectsystemapp or case study and di.pdf
Find one real world software projectsystemapp or case study and di.pdfFind one real world software projectsystemapp or case study and di.pdf
Find one real world software projectsystemapp or case study and di.pdf
 
Evaluate the Financial Performance of the Clydestone financial har.pdf
Evaluate the Financial Performance of the Clydestone financial har.pdfEvaluate the Financial Performance of the Clydestone financial har.pdf
Evaluate the Financial Performance of the Clydestone financial har.pdf
 
Do ratio analysis of Abbott India Ltd and answer the below questions.pdf
Do ratio analysis of Abbott India Ltd and answer the below questions.pdfDo ratio analysis of Abbott India Ltd and answer the below questions.pdf
Do ratio analysis of Abbott India Ltd and answer the below questions.pdf
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

Flutter Dart I have these files in picture I wrote most the codes .pdf

  • 1. Flutter Dart I have these files in picture I wrote most the codes but I stuck with somethings. 1- I want 10 items each item has Id, Description, name ex List Note: I want the items in GlobalItems files 2- I want the user able to scroll down and up 3- when the user tab on item he will be able to update the information such name and description 4- there is a delete button at the home page if he want to delete the item Very Important Note: do not create your code that not relate to my code bc it will be (((((UNUSEFULL))) show me you output too THANKS Home Page: Item file Global Item file the Second Page that the user will be able to edits class_MyHomePagestate extends state { // List < Item > item =[ // ]; void_handleButtonPress() { setstate ((){ if (!Globalitems () . items. contains ( index ) index. Id == item. Id ) ) { Globalitems () . items . add(item); } Navigator . push(context, MaterialPageRoute(builder: (context) EditItemPage(item: item))) .then ((( value ){ setstate ((){})})); }); } Widget build(Buildcontext context) { return scaffold( appBar: AppBar ( backgroundColor: Theme.of(context).colorscheme.inversePrimary, title: Text(widget.title), ), // AppBar body: Center ( child: Column( mainAxisAlignment: MainAxisAlignment.start, children: Widget>[ Text "Item Information", style: Textstyle(fontsize: 30, fontweight: Fontweight.bold), , // Text Text ( "Item ID: ${item.Id}", style: TextStyle(fontSize: 20), ), // Text Text( "Item name: ${item.name }, style: Textstyle(fontSize: 20), ), // Text Text( "Item Description: ${item. Description}", style: TextStyle(fontsize: 20), ), // Text ElevatedButton( onPressed:_handleButtonPress, child: Text("Edit Items")) // ], // Widget >[] ), // Column class Item { int Id; String name; String Description; Item(this.Id, this.name, this.Description); } import 'item.dart'; class GlobalItems { static final GlobalItems_item = GlobalItems._instance(); factory GlobalItems() { | return_item; Globalitems._instance(); List items = [ ]; import
  • 2. 'item.dart'; class Globalitems { static final Globalitems_item = Globalitems._instance(); factory Globalitems() { return _item; } GlobalItems._instance(); List Item > items =[ ]; } class EditItemPage extends statefulwidget { final Item item; const EditItemPage({Key? key, required this.item }) : super(key: key); @override State createstate() EditItemPagestate(item); } class _EditItemPagestate extends State { EditItemPagestate(item); late Item item = widget.item; TextEditingController itemNameController = new TextEditingController(); TextEditingController itemDescriptionController = new TextEditingController(); @override void initstate() { super.initstate(); itemNameController.text = item.name; itemDescriptioncontroller.text = item.Description; } void_updateitemPressed() { Item cuurentItem = Globalitems ( ).items.firstwhere ((index) index.Id == item.Id); cuurentItem. name = itemNameController.text; cuurentItem.Description = itemDescriptioncontroller.text; cuurentItem.Description = itemDescriptionController.text; Navigator.pop(context); override idget build(BuildContext context) { return Container( child: Scaffold( appBar: AppBar( backgroundColor: Theme.of(context).colorscheme.inversePrimary, title: Text("Edit Items $ item.Id }"), ), // AppBar body: Center ( child: Column( mainAxisAlignment: MainAxisAlignment.start, children: TextField( controller: itemNameController, decoration: InputDecoration(labelText: "Name")), // TextFie TextField( controller: itemDescriptionController, decoration: InputDecoration(labelText: "Description")), // ElevatedButton( onPressed: updateitemPressed, child: Text("Update Item"), ) // ElevatedButton ]), // widget>[] // column ), // Center )); // Scaffold // Container