Dengpan WangFlutter: keep the scroll position when inserting new items into ListViewTypically, ListView would scroll up/down (depending on if it is reversed) when we insert a new item into the top of the list, like:Mar 18, 20233Mar 18, 20233
Dengpan WangFlutter: build a draggable grid view using gesture recognizers.Before we dive into this topic, I want to decompose the whole topic to different questions, so that we could focus on small questions and…Dec 11, 2022Dec 11, 2022
Dengpan WangFlutter: build a cloud planetThis post will introduce how to build a cloud planet widget. The most complex parts are about:Aug 4, 2022Aug 4, 2022
Dengpan WangFlutter: calculate the child's position in the Flow widgetSometimes, we may use Flow widgets in Flutter, but it may be confusing to determine where we should paintChild in the parent size. This…Jul 15, 2022Jul 15, 2022
Dengpan WangFlutter: create an animated draggable overlaySometimes, in Flutter, we need to create a draggable overlay and automatically align it to the screen edge once dragging ends. Here, I will…Jun 7, 2022Jun 7, 2022