404: Something's gone wrong :-(
44 | 45 |You've tried to visit a page that doesn't exist. Luckily this site 47 | has other pages.
48 |If you were looking for something specific, try searching: 49 |
52 | 53 | 54 |├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── doc └── api │ ├── __404error.html │ ├── categories.json │ ├── index.html │ ├── index.json │ ├── json_to_form │ ├── CoreForm-class.html │ ├── CoreForm │ │ ├── CoreForm.html │ │ ├── createElement.html │ │ ├── createState.html │ │ ├── debugDescribeChildren.html │ │ ├── debugFillProperties.html │ │ ├── form.html │ │ ├── form_map.html │ │ ├── hashCode.html │ │ ├── key.html │ │ ├── noSuchMethod.html │ │ ├── onChanged.html │ │ ├── operator_equals.html │ │ ├── padding.html │ │ ├── runtimeType.html │ │ ├── toDiagnosticsNode.html │ │ ├── toString.html │ │ ├── toStringDeep.html │ │ ├── toStringShallow.html │ │ └── toStringShort.html │ └── json_to_form-library.html │ └── static-assets │ ├── URI.js │ ├── css │ ├── bootstrap.css │ ├── bootstrap.css.map │ └── bootstrap.min.css │ ├── favicon.png │ ├── github.css │ ├── highlight.pack.js │ ├── play_button.svg │ ├── readme.md │ ├── script.js │ ├── sdk_footer_text.html │ ├── styles.css │ └── typeahead.bundle.min.js ├── example ├── .gitignore ├── .metadata ├── README.md ├── analysis_options.yaml ├── android │ ├── .gitignore │ ├── app │ │ ├── build.gradle │ │ └── src │ │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── codigopanda │ │ │ │ │ └── example │ │ │ │ │ └── MainActivity.java │ │ │ └── res │ │ │ │ ├── drawable-v21 │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable │ │ │ │ └── launch_background.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── values-night │ │ │ │ └── styles.xml │ │ │ │ └── values │ │ │ │ └── styles.xml │ │ │ └── profile │ │ │ └── AndroidManifest.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ └── gradle-wrapper.properties │ └── settings.gradle ├── forms │ └── register.json ├── ios │ ├── .gitignore │ ├── Flutter │ │ ├── AppFrameworkInfo.plist │ │ ├── Debug.xcconfig │ │ └── Release.xcconfig │ ├── Runner.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ ├── Runner.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── Runner │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ └── LaunchImage.imageset │ │ │ ├── Contents.json │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ └── README.md │ │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ │ ├── Info.plist │ │ └── Runner-Bridging-Header.h ├── lib │ ├── all_fields.dart │ ├── all_fields_v1.dart │ ├── login.dart │ ├── main.dart │ ├── register.dart │ └── register_with_map.dart ├── pubspec.yaml └── test │ └── widget_test.dart ├── images ├── image1.png ├── image2.png ├── image3.png └── image4.png ├── ios ├── Flutter │ ├── Generated.xcconfig │ └── flutter_export_environment.sh └── Runner │ ├── GeneratedPluginRegistrant.h │ └── GeneratedPluginRegistrant.m ├── json_to_form.iml ├── lib ├── components │ ├── index.dart │ ├── simple_checkbox.dart │ ├── simple_date.dart │ ├── simple_radios.dart │ ├── simple_select.dart │ ├── simple_switch.dart │ └── simple_text.dart ├── functions.dart ├── json_schema.dart └── json_to_form.dart ├── pubspec.yaml └── test └── json_to_form_test.dart /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .atom/ 3 | .dart_tool/ 4 | .idea 5 | .packages 6 | .pub/ 7 | packages 8 | pubspec.lock 9 | .fvm/ -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## [0.0.5] - 08/03/2023 2 | 3 | * Update Package 4 | * Update Example 5 | 6 | ## [0.0.4] - 02/02/2020 7 | 8 | * Fix Initial Value in TextField 9 | 10 | ## [0.0.3] - TODO: Add release date. 11 | 12 | * Add new field Select 13 | * You can customize the validations 14 | * You can customize the decoration 15 | * More stable structure 16 | 17 | ## [0.0.2] - TODO: Add release date. 18 | 19 | * Support for dart 2 and added dartdoc 20 | 21 | ## [0.0.1] - TODO: Add release date. 22 | 23 | * Basic convert Json to Form 24 | -------------------------------------------------------------------------------- /doc/api/__404error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 |You've tried to visit a page that doesn't exist. Luckily this site 47 | has other pages.
48 |If you were looking for something specific, try searching: 49 |
52 | 53 | 54 |const CoreForm({
88 | @required this.form,
89 | @required this.onChanged,
90 | this.padding,
91 | this.form_map,
92 | });
93 | Creates a StatefulElement
to manage this widget's location in the tree.
It is uncommon for subclasses to override this method.
92 |@override
97 | StatefulElement createElement() => StatefulElement(this);
98 | Creates the mutable state for this widget at a given location in the tree.
91 |Subclasses should override this method to return a newly created
92 | instance of their associated State
subclass:
@override
94 | _MyState createState() => _MyState();
95 |
96 | The framework can call this method multiple times over the lifetime of
97 | a StatefulWidget
. For example, if the widget is inserted into the tree
98 | in multiple locations, the framework will create a separate State
object
99 | for each location. Similarly, if the widget is removed from the tree and
100 | later inserted into the tree again, the framework will call createState
101 | again to create a fresh State
object, simplifying the lifecycle of
102 | State
objects.
@override
108 | _CoreFormState createState() =>
109 | new _CoreFormState(form_map ?? json.decode(form));
110 | Returns a list of DiagnosticsNode
objects describing this node's
91 | children.
Children that are offstage should be added with style
set to
93 | DiagnosticsTreeStyle.offstage
to indicate that they are offstage.
The list must not contain any null entries. If there are explicit null
95 | children to report, consider new DiagnosticsNode.message
or
96 | DiagnosticsProperty<Object>
as possible DiagnosticsNode
objects to
97 | provide.
See also:
RenderTable.debugDescribeChildren
, which provides high quality custom
99 | descriptions for its child nodes.Used by toStringDeep, toDiagnosticsNode and toStringShallow.
101 |@protected
106 | List<DiagnosticsNode> debugDescribeChildren() => const <DiagnosticsNode>[];
107 | final String form
87 |
88 |
89 | final dynamic form_map
87 |
88 |
89 | Controls how one widget replaces another widget in the tree.
86 |If the runtimeType and key properties of the two widgets are
87 | operator==, respectively, then the new widget replaces the old widget by
88 | updating the underlying element (i.e., by calling Element.update
with the
89 | new widget). Otherwise, the old element is removed from the tree, the new
90 | widget is inflated into an element, and the new element is inserted into the
91 | tree.
In addition, using a GlobalKey
as the widget's key allows the element
93 | to be moved around the tree (changing parent) without losing state. When a
94 | new widget is found (its key and type do not match a previous widget in
95 | the same location), but there was a widget with that same global key
96 | elsewhere in the tree in the previous frame, then that widget's element is
97 | moved to the new location.
Generally, a widget that is the only child of another widget does not need 99 | an explicit key.
100 |See also the discussions at Key
and GlobalKey
.
final Key key
105 |
106 |
107 | Invoked when a non-existent method or property is accessed.
86 |Classes can override noSuchMethod to provide custom behavior.
87 |If a value is returned, it becomes the result of the original invocation.
88 |The default behavior is to throw a NoSuchMethodError
.
@pragma("vm:entry-point")
94 | external dynamic noSuchMethod(Invocation invocation);
95 | final ValueChanged<dynamic> onChanged
87 |
88 |
89 | The equality operator.
86 |The default behavior for all Object
s is to return true if and
87 | only if this
and other
are the same object.
Override this method to specify a different equality relation on 89 | a class. The overriding method must still be an equivalence relation. 90 | That is, it must be:
Total: It must return a boolean for all arguments. It should never throw
92 | or return null
.
Reflexive: For all objects o
, o == o
must be true.
Symmetric: For all objects o1
and o2
, o1 == o2
and o2 == o1
must
95 | either both be true, or both be false.
Transitive: For all objects o1
, o2
, and o3
, if o1 == o2
and
97 | o2 == o3
are true, then o1 == o3
must be true.
The method should also be consistent over time, 99 | so whether two objects are equal should only change 100 | if at least one of the objects was modified.
101 |If a subclass overrides the equality operator it should override 102 | the hashCode method as well to maintain consistency.
103 |external bool operator ==(other);
108 | final double padding
87 |
88 |
89 | A representation of the runtime type of the object.
90 |external Type get runtimeType;
94 | Returns a debug representation of the object that is used by debugging 91 | tools and by toStringDeep.
92 |Leave name
as null if there is not a meaningful description of the
93 | relationship between the this node and its parent.
Typically the style
argument is only specified to indicate an atypical
95 | relationship between the parent and the node. For example, pass
96 | DiagnosticsTreeStyle.offstage
to indicate that a node is offstage.
@override
102 | DiagnosticsNode toDiagnosticsNode({ String name, DiagnosticsTreeStyle style }) {
103 | return _DiagnosticableTreeNode(
104 | name: name,
105 | value: this,
106 | style: style,
107 | );
108 | }
109 | Returns a string representation of this object.
91 |@override
96 | String toString({ DiagnosticLevel minLevel = DiagnosticLevel.debug }) {
97 | return toDiagnosticsNode(style: DiagnosticsTreeStyle.singleLine).toString(minLevel: minLevel);
98 | }
99 | A short, textual description of this widget.
91 |@override
96 | String toStringShort() {
97 | return key == null ? '$runtimeType' : '$runtimeType-$key';
98 | }
99 |