onInit method
Called immediately after the widget is allocated in memory. You might use this to initialize something for the controller.
Implementation
@override
void onInit() {
super.onInit();
clearInputs();
streetAddressController.addListener(() {
update();
});
zipCodeController.addListener(() {
update();
});
country.addListener(() {
update();
});
state.addListener(() {
update();
});
city.addListener(() {
update();
});
}