Widget only supports Widgets as children https://www.baidu.com/s?wd=Widget%20only%20supports%20Widgets%20as%20children&rsv_spt=1&rsv_iqid=0xc473b15e0012e4a4&issp=1&f=8&rsv_bp=1&rsv_idx=2&ie=utf-8&tn=baiduhome_pg&rsv_ent…
Error states that TextField widgets require a Material widget ancestor. Simply wrapping your whole loginWidget into Scaffold will solve the problem. Widget LoginPage() { return new Scaffold(body: *your whole code*) }…
Android Lint Checks Here are the current list of checks that lint performs as of Android Studio 2.3 dev: Correctness =========== AdapterViewChildren ------------------- Summary: AdapterViews cannot have children in XML Priority: 10 / 10 Sever…