CameronDugan.com

Home - Blog - Mirror - Projects

Using Flutter

Stats -> The average person can read this 249 word page in 1 minute.


Making a Cross Platform App with Flutter

plant

Lessons:

childWidget()
    build()
        return widget(
            onTap: () {
                parentWidget.add(item);
                setState(){};

but I can say:

//this is pseudo code
parentWidget(){
    mylist = [];

    Widget childWidget(list){
        return widget(
            onTap: () {
                mylist.add("hello")
                setState(){};
            }
    }

    build() => childWidget(mylist);
}

I’ll add binaries to this page shortly, see you next time!