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
4e3d1755
Commit
4e3d1755
authored
Jun 16, 2021
by
Rizal Hermawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat (server) : create apk release. Story 1#
parent
d4eea63e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
267 additions
and
16 deletions
+267
-16
.packages
+1
-1
example/.packages
+29
-1
example/android/app/build.gradle
+19
-7
example/lib/ui/pages/buttons_page/buttons_page_dynamic.dart
+19
-4
example/lib/ui/pages/test_state_page.dart
+1
-3
example/pubspec.lock
+198
-0
No files found.
.packages
View file @
4e3d1755
...
...
@@ -3,7 +3,7 @@
#
# For more info see: https://dart.dev/go/dot-packages-deprecation
#
# Generated by pub on 2021-06-0
6 23:23:01.508898
.
# Generated by pub on 2021-06-0
9 11:25:58.006660
.
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/
characters:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
...
...
example/.packages
View file @
4e3d1755
...
...
@@ -3,40 +3,68 @@
#
# For more info see: https://dart.dev/go/dot-packages-deprecation
#
# Generated by pub on 2021-06-06 23:23:05.084775.
# Generated by pub on 2021-06-09 11:26:00.393456.
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/
bloc:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/bloc-7.0.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/
charcode:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/lib/
cli_repl:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/cli_repl-0.2.2/lib/
clock:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
collection:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
colorize:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/colorize-2.0.0/lib/
cupertino_icons:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.2/lib/
dart2_constant:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/dart2_constant-1.0.2+dart2/lib/
equatable:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/equatable-1.1.1/lib/
fake_async:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
file:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/file-5.2.1/lib/
fluri:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/fluri-1.3.0/lib/
flutter:file:///D:/flutter/2.0.4-stable/packages/flutter/lib/
flutter_bloc:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/flutter_bloc-7.0.1/lib/
flutter_sequence_animation_null_safety:file:///D:/flutter/2.0.4-stable/.pub-cache/git/flutter_sequence_animation_null_safety-773d67311fed31fae22214b385265ae275854495/lib/
flutter_test:file:///D:/flutter/2.0.4-stable/packages/flutter_test/lib/
font_awesome_flutter:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/font_awesome_flutter-9.0.0/lib/
glob:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/glob-1.2.0/lib/
http:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/http-0.12.2/lib/
http_parser:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.4/lib/
intl:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/intl-0.17.0/lib/
js:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/js-0.6.3/lib/
json_pointer:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/json_pointer-0.1.0/lib/
json_schema:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/json_schema-3.0.0/lib/
llswidget:../lib/
logging:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/logging-0.11.4/lib/
matcher:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/lib/
meta:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/lib/
mime:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/mime-0.9.7/lib/
nested:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/nested-1.0.0/lib/
node_interop:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/node_interop-1.2.1/lib/
node_io:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/node_io-1.2.0/lib/
package_config:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/package_config-1.9.3/lib/
package_resolver:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/package_resolver-1.0.10/lib/
path:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
pedantic:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/pedantic-1.11.0/lib/
provider:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/provider-5.0.0/lib/
quiver:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/quiver-2.1.5/lib/
responsive_framework:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/responsive_framework-0.1.0/lib/
sass:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/sass-1.32.8/lib/
sky_engine:file:///D:/flutter/2.0.4-stable/bin/cache/pkg/sky_engine/lib/
sockjs_client:file:///D:/flutter/2.0.4-stable/.pub-cache/git/sockjs-dart-client-2e8dc8d2fe8486d31b6e220277c94d746ced1691/lib/
sockjs_client_wrapper:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/sockjs_client_wrapper-1.1.0/lib/
source_maps:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/source_maps-0.10.10/lib/
source_span:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0/lib/
stack_trace:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
stream_transform:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/stream_transform-2.0.0/lib/
string_scanner:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
term_glyph:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19/lib/
tuple:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/tuple-1.0.3/lib/
typed_data:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
uri:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/uri-0.11.4/lib/
vector_math:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
w_common:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/w_common-1.20.4/lib/
w_transport:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/w_transport-3.2.8/lib/
watcher:file:///D:/flutter/2.0.4-stable/.pub-cache/hosted/pub.dartlang.org/watcher-0.9.7+15/lib/
widgetparser:../../widgetparser/lib/
demo_package_ui_semantic:lib/
example/android/app/build.gradle
View file @
4e3d1755
...
...
@@ -21,6 +21,12 @@ if (flutterVersionName == null) {
flutterVersionName
=
'1.0'
}
def
keystoreProperties
=
new
Properties
()
def
keystorePropertiesFile
=
rootProject
.
file
(
'key.properties'
)
if
(
keystorePropertiesFile
.
exists
())
{
keystoreProperties
.
load
(
new
FileInputStream
(
keystorePropertiesFile
))
}
apply
plugin:
'com.android.application'
apply
plugin:
'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
...
...
@@ -41,13 +47,19 @@ android {
versionName
flutterVersionName
}
buildTypes
{
release
{
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig
signingConfigs
.
debug
}
}
signingConfigs
{
release
{
keyAlias
keystoreProperties
[
'keyAlias'
]
keyPassword
keystoreProperties
[
'keyPassword'
]
storeFile
keystoreProperties
[
'storeFile'
]
?
file
(
keystoreProperties
[
'storeFile'
])
:
null
storePassword
keystoreProperties
[
'storePassword'
]
}
}
buildTypes
{
release
{
signingConfig
signingConfigs
.
release
}
}
}
flutter
{
...
...
example/lib/ui/pages/buttons_page/buttons_page_dynamic.dart
View file @
4e3d1755
...
...
@@ -61,9 +61,7 @@ class _ButtonsPageDynamicState extends State<ButtonsPageDynamic> {
"decoration": {
"borderRadius": {
"borderRadiusMethod": "circular",
"radiusMap": {
"all_directions": 7.0
}
"radius": [7.0]
},
"color": "lls_secondary",
"boxShadow": [
...
...
@@ -96,13 +94,30 @@ class _ButtonsPageDynamicState extends State<ButtonsPageDynamic> {
}
'''
;
// final pageJson = '''
// {
// "widget": "Container",
// "alignment": "center",
// "color": "lls_success",
// "constraints": {
// "minWidth": 0,
// "maxWidth": 0,
// "minHeight": 0,
// "maxHeight": 0
// },
// "margin": "5,5,5,5",
// "padding": "0,0,0,0",
// "child": "y"
// }
// ''';
Future
<
Widget
?>
_buildWidget
(
BuildContext
context
)
async
{
try
{
return
WidgetParserBuilder
.
build
(
pageJson
,
context
,
ButtonsPageMethodListener
());
}
catch
(
e
)
{
String
err
=
e
.
toString
();
print
(
err
);
return
_buildErrorPage
(
"Page Rendering is Error
.
$err
"
);
return
_buildErrorPage
(
"Page Rendering is Error
:
$err
"
);
}
}
...
...
example/lib/ui/pages/test_state_page.dart
View file @
4e3d1755
...
...
@@ -61,9 +61,7 @@ class _TestStatePageState extends State<TestStatePage> {
"decoration": {
"borderRadius": {
"borderRadiusMethod": "circular",
"radiusMap": {
"all_directions": 7.0
}
"radius": [7.0]
},
"color": "lls_secondary",
"boxShadow": [
...
...
example/pubspec.lock
View file @
4e3d1755
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
args:
dependency: transitive
description:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.0"
async:
dependency: transitive
description:
...
...
@@ -36,6 +43,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
cli_repl:
dependency: transitive
description:
name: cli_repl
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.2"
clock:
dependency: transitive
description:
...
...
@@ -50,6 +64,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0"
colorize:
dependency: transitive
description:
name: colorize
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
cupertino_icons:
dependency: "direct main"
description:
...
...
@@ -57,6 +78,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.2"
dart2_constant:
dependency: transitive
description:
name: dart2_constant
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.2+dart2"
equatable:
dependency: "direct main"
description:
...
...
@@ -71,6 +99,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
file:
dependency: transitive
description:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "5.2.1"
fluri:
dependency: transitive
description:
name: fluri
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
flutter:
dependency: "direct main"
description: flutter
...
...
@@ -104,6 +146,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "9.0.0"
glob:
dependency: transitive
description:
name: glob
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
http:
dependency: "direct main"
description:
...
...
@@ -118,6 +167,34 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.4"
intl:
dependency: transitive
description:
name: intl
url: "https://pub.dartlang.org"
source: hosted
version: "0.17.0"
js:
dependency: transitive
description:
name: js
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.3"
json_pointer:
dependency: transitive
description:
name: json_pointer
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
json_schema:
dependency: transitive
description:
name: json_schema
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
llswidget:
dependency: "direct main"
description:
...
...
@@ -125,6 +202,13 @@ packages:
relative: true
source: path
version: "0.0.5"
logging:
dependency: transitive
description:
name: logging
url: "https://pub.dartlang.org"
source: hosted
version: "0.11.4"
matcher:
dependency: transitive
description:
...
...
@@ -139,6 +223,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
mime:
dependency: transitive
description:
name: mime
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.7"
nested:
dependency: transitive
description:
...
...
@@ -146,6 +237,34 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
node_interop:
dependency: transitive
description:
name: node_interop
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.1"
node_io:
dependency: transitive
description:
name: node_io
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
package_config:
dependency: transitive
description:
name: package_config
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.3"
package_resolver:
dependency: transitive
description:
name: package_resolver
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.10"
path:
dependency: transitive
description:
...
...
@@ -167,6 +286,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.0"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.5"
responsive_framework:
dependency: "direct main"
description:
...
...
@@ -174,11 +300,41 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
sass:
dependency: transitive
description:
name: sass
url: "https://pub.dartlang.org"
source: hosted
version: "1.32.8"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
sockjs_client:
dependency: transitive
description:
path: "."
ref: "0.3.5"
resolved-ref: "2e8dc8d2fe8486d31b6e220277c94d746ced1691"
url: "git://github.com/Workiva/sockjs-dart-client.git"
source: git
version: "0.3.5"
sockjs_client_wrapper:
dependency: transitive
description:
name: sockjs_client_wrapper
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
source_maps:
dependency: transitive
description:
name: source_maps
url: "https://pub.dartlang.org"
source: hosted
version: "0.10.10"
source_span:
dependency: transitive
description:
...
...
@@ -200,6 +356,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
stream_transform:
dependency: transitive
description:
name: stream_transform
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
string_scanner:
dependency: transitive
description:
...
...
@@ -221,6 +384,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19"
tuple:
dependency: transitive
description:
name: tuple
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
typed_data:
dependency: transitive
description:
...
...
@@ -228,6 +398,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
uri:
dependency: transitive
description:
name: uri
url: "https://pub.dartlang.org"
source: hosted
version: "0.11.4"
vector_math:
dependency: transitive
description:
...
...
@@ -235,6 +412,27 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
w_common:
dependency: transitive
description:
name: w_common
url: "https://pub.dartlang.org"
source: hosted
version: "1.20.4"
w_transport:
dependency: transitive
description:
name: w_transport
url: "https://pub.dartlang.org"
source: hosted
version: "3.2.8"
watcher:
dependency: transitive
description:
name: watcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.7+15"
widgetparser:
dependency: "direct main"
description:
...
...
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