Skip to content

Commit 7b08e29

Browse files
Merge pull request #1237 from flutter-form-builder-ecosystem/feature-1027-screenshots
Add example gifs
2 parents 77db01e + 3e40094 commit 7b08e29

14 files changed

+796
-1232
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ ___
3838
- Apply validators to inputs fields
3939
- React to form fields changes and validations
4040

41+
| Complete Form | # | Dynamic Fields | Conditional Form |
42+
|---|---|---|---|
43+
| ![Gif demostration with all fields](/screenshots/complete_form.gif) | ![Gif demostration # form](/screenshots/#.gif) | ![Gif demostration dynamic fields](/screenshots/dynamic_fields.gif) | ![Gif demostration conditional fields](/screenshots/conditional_fields.gif) |
44+
4145
## Inputs
4246

4347
The currently supported fields include:

example/lib/code_page.dart

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
11
import 'package:flutter/material.dart';
22
// import 'package:widget_with_codeview/widget_with_codeview.dart';
33

4-
class CodePage extends StatefulWidget {
4+
class CodePage extends StatelessWidget {
55
final String title;
66
final Widget child;
7-
final String sourceFilePath;
87

98
const CodePage({
10-
Key? key,
9+
super.key,
1110
required this.title,
1211
required this.child,
13-
required this.sourceFilePath,
14-
}) : super(key: key);
12+
});
1513

16-
@override
17-
State<CodePage> createState() => _CodePageState();
18-
}
19-
20-
class _CodePageState extends State<CodePage> {
2114
@override
2215
Widget build(BuildContext context) {
2316
return Scaffold(
24-
appBar: AppBar(
25-
title: Text(widget.title),
26-
elevation: 0,
17+
appBar: AppBar(title: Text(title), elevation: 0),
18+
body: Padding(
19+
padding: const EdgeInsets.all(24),
20+
child: child,
2721
),
28-
body: widget.child,
2922
);
3023
}
3124
}

example/lib/data.dart

Lines changed: 0 additions & 291 deletions
This file was deleted.

0 commit comments

Comments
 (0)