chore: fix and format using melos
This commit is contained in:
@@ -35,7 +35,9 @@ class App extends StatelessWidget {
|
||||
FormInput(formFieldEmail, const Email.pure(),
|
||||
metadata: const FormInputMetadata<Metadata>(extra: blue)),
|
||||
FormInput(
|
||||
formFieldList, const ListOption<String>.pure(choices: ['c1', 'c2', 'c3'],defaultValue: 'c3')),
|
||||
formFieldList,
|
||||
const ListOption<String>.pure(
|
||||
choices: ['c1', 'c2', 'c3'], defaultValue: 'c3')),
|
||||
FormInput(formFieldRadio, const TextString.pure()),
|
||||
FormInput(formFieldPro, const Boolean.pure(),
|
||||
metadata: const FormInputMetadata<Metadata>(name: 'business')),
|
||||
@@ -65,7 +67,7 @@ class App extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
FormRepository formRepository = FormRepositoryImpl()
|
||||
..registerForm(getNormalFormData());
|
||||
|
||||
|
||||
// FormRepository formRepository = FormRepositoryImpl()
|
||||
// ..registerForm(WyattFormImpl([
|
||||
// FormInput(formFieldName, const Name.pure('Test'),
|
||||
|
||||
@@ -15,10 +15,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
enum Category {
|
||||
perso,
|
||||
business
|
||||
}
|
||||
enum Category { perso, business }
|
||||
|
||||
class Metadata {
|
||||
final Category category;
|
||||
|
||||
Reference in New Issue
Block a user