Commit 5407e7cb by Rizal Hermawan

modified : buttons_page_dynamic page & launch.json

parent 4e3d1755
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# For more info see: https://dart.dev/go/dot-packages-deprecation # For more info see: https://dart.dev/go/dot-packages-deprecation
# #
# Generated by pub on 2021-06-09 11:25:58.006660. # Generated by pub on 2021-06-16 16:46:58.663440.
async:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/async-2.5.0/lib/ async:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/async-2.5.0/lib/
boolean_selector:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/ boolean_selector:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
characters:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/ characters:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
......
{ {
"version": "0.1.0",
"configurations": [ "configurations": [
{ {
"name": "Flutter", "name": "Flutter",
"program": "example/lib/main.dart", "program": "example/lib/main.dart",
"request": "launch", "request": "launch",
"type": "dart" "type": "dart",
"args": ["--no-sound-null-safety"]
} }
] ]
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# For more info see: https://dart.dev/go/dot-packages-deprecation # For more info see: https://dart.dev/go/dot-packages-deprecation
# #
# Generated by pub on 2021-06-09 11:26:00.393456. # Generated by pub on 2021-06-16 16:47:00.746173.
args:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/args-1.6.0/lib/ args:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/args-1.6.0/lib/
async:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/async-2.5.0/lib/ async:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/async-2.5.0/lib/
bloc:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/bloc-7.0.0/lib/ bloc:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/bloc-7.0.0/lib/
......
...@@ -96,18 +96,43 @@ class _ButtonsPageDynamicState extends State<ButtonsPageDynamic> { ...@@ -96,18 +96,43 @@ class _ButtonsPageDynamicState extends State<ButtonsPageDynamic> {
// final pageJson = ''' // final pageJson = '''
// { // {
// "widget": "Container", // "widget": "Scaffold",
// "alignment": "center", // "body": {
// "color": "lls_success", // "widget": "Container",
// "constraints": { // "margin": "15,20,15,0",
// "minWidth": 0, // "padding": "5,5,5,5",
// "maxWidth": 0, // "decoration": {
// "minHeight": 0, // "borderRadius": {
// "maxHeight": 0 // "borderRadiusMethod": "circular",
// }, // "radius": [
// "margin": "5,5,5,5", // 7.0
// "padding": "0,0,0,0", // ]
// "child": "y" // },
// "color": "lls_secondary",
// "boxShadow": [
// {
// "color": "lls_dark,withOpacity,0.40",
// "blurRadius": 5.0
// }
// ]
// },
// "child": {
// "widget": "LLSListTile",
// "color": "lls_secondary",
// "title": {
// "widget": "Text",
// "data": "Standards Buttons",
// "style": {
// "color": "lls_white"
// }
// },
// "icon": {
// "widget": "Icon",
// "data": "ios.forward",
// "color": "lls_white"
// }
// }
// }
// } // }
// '''; // ''';
...@@ -116,8 +141,7 @@ class _ButtonsPageDynamicState extends State<ButtonsPageDynamic> { ...@@ -116,8 +141,7 @@ class _ButtonsPageDynamicState extends State<ButtonsPageDynamic> {
return WidgetParserBuilder.build(pageJson, context, ButtonsPageMethodListener()); return WidgetParserBuilder.build(pageJson, context, ButtonsPageMethodListener());
} catch (e) { } catch (e) {
String err = e.toString(); String err = e.toString();
print(err); return _buildErrorPage("${err.split('.')[0]} ${err.split('.')[1]}");
return _buildErrorPage("Page Rendering is Error: $err");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment