json_gen_form 0.1.1 json_gen_form: ^0.1.1 copied to clipboard
Generate Flutter forms using JSON, featuring a variety of built-in form controls, support for validation, custom layouts, custom styles, and unlimited nested form grouping.
import 'package:flutter/material.dart';
import './demo.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
brightness: Brightness.light,
// brightness: Brightness.dark,
useMaterial3: true,
),
home: const JsonGenFormPage(),
);
}
}