Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
llswidget
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dart-package
llswidget
Commits
5407e7cb
Commit
5407e7cb
authored
Jun 17, 2021
by
Rizal Hermawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified : buttons_page_dynamic page & launch.json
parent
4e3d1755
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
17 deletions
+41
-17
.packages
+1
-1
.vscode/launch.json
+3
-3
example/.packages
+1
-1
example/lib/ui/pages/buttons_page/buttons_page_dynamic.dart
+36
-12
No files found.
.packages
View file @
5407e7cb
...
@@ -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.00666
0.
# Generated by pub on 2021-06-
16 16:46:58.66344
0.
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/
...
...
.vscode/launch.json
View file @
5407e7cb
{
{
"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
example/.packages
View file @
5407e7cb
...
@@ -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/
...
...
example/lib/ui/pages/buttons_page/buttons_page_dynamic.dart
View file @
5407e7cb
...
@@ -96,18 +96,43 @@ class _ButtonsPageDynamicState extends State<ButtonsPageDynamic> {
...
@@ -96,18 +96,43 @@ class _ButtonsPageDynamicState extends State<ButtonsPageDynamic> {
// final pageJson = '''
// final pageJson = '''
// {
// {
// "widget": "Scaffold",
// "body": {
// "widget": "Container",
// "widget": "Container",
// "alignment": "center",
// "margin": "15,20,15,0",
// "color": "lls_success",
// "padding": "5,5,5,5",
// "constraints": {
// "decoration": {
// "minWidth": 0,
// "borderRadius": {
// "maxWidth": 0,
// "borderRadiusMethod": "circular",
// "minHeight": 0,
// "radius": [
// "maxHeight": 0
// 7.0
// ]
// },
// },
// "margin": "5,5,5,5",
// "color": "lls_secondary",
// "padding": "0,0,0,0",
// "boxShadow": [
// "child": "y"
// {
// "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
"
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment