useFormController<T> function
フォームを管理する 親画面で use する Hook
Implementation
FormController<T> useFormController<T>(T initialState) {
final controller = useMemoized(() => FormController<T>(initialState), [
initialState,
]);
useEffect(() => controller.dispose, [controller]);
return controller;
}