iT邦幫忙

2023 iThome 鐵人賽

DAY 4
0
自我挑戰組

簡易跨平台記事白板系列 第 4

[Day 4] [flutter] multi-platform white board -- view and editing page

  • 分享至 

  • xImage
  •  

preface

Got lots of tasks these days.... I may not pressent the development in detail,but I'll still do my best to finish this article

Begin

last day we finished the create_page so we gonna finish the view, editing, deleteing feature in following two days.


The main focus is define a variable called isEditing that is used to determine whether the note is currently being edited or not. If isEditing is true, the widget displays two TextFormField widgets that allow the user to edit the note's title and body. If isEditing is false, the widget displays the note's title and body as Text widgets.


The second point is add the edit button and delete button

Last, we have to update the edited note into the List in homepage,and update the note object concurrently inside the edit page to ensure all the data will be updated

Demo

Video demo
code link


上一篇
[Day 3] [flutter] multi-platform white board -- Create page
下一篇
[Day 5] [flutter] multi-platform white board -- screen widget
系列文
簡易跨平台記事白板12
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言