make it work when built as release

pull/2/head
axtlos 3 years ago
parent 4bfa794208
commit b2dcceb644
No known key found for this signature in database
GPG Key ID: C642EA4B2F4096BE

@ -68,7 +68,6 @@ Widget desktopView(currDesktop, setDesktop, next) {
), ),
], ],
), ),
child: Expanded(
child: SingleChildScrollView( child: SingleChildScrollView(
primary: false, primary: false,
child: Column( child: Column(
@ -82,7 +81,6 @@ Widget desktopView(currDesktop, setDesktop, next) {
), ),
), ),
), ),
),
const SizedBox(width: 100), const SizedBox(width: 100),
Column( Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,

@ -117,21 +117,19 @@ Widget keyboard(
), ),
], ],
), ),
child: Expanded(
child: SingleChildScrollView( child: SingleChildScrollView(
primary: false, primary: false,
child: Column( child: Column(
//mainAxisAlignment: MainAxisAlignment.spaceEvenly, //mainAxisAlignment: MainAxisAlignment.spaceEvenly,
//crossAxisAlignment: CrossAxisAlignment.stretch, //crossAxisAlignment: CrossAxisAlignment.stretch,
children: keymaps children: keymaps
.map<Widget>((keymap) => .map<Widget>(
layoutTemplate(keymap, setChosenLayout)) (keymap) => layoutTemplate(keymap, setChosenLayout))
.toList(), .toList(),
), ),
), ),
), ),
), ),
),
const SizedBox(width: 50), const SizedBox(width: 50),
//Expanded(child: layouts()), //Expanded(child: layouts()),
Expanded( Expanded(
@ -149,7 +147,6 @@ Widget keyboard(
), ),
], ],
), ),
child: Expanded(
child: SingleChildScrollView( child: SingleChildScrollView(
primary: false, primary: false,
child: Column( child: Column(
@ -163,7 +160,6 @@ Widget keyboard(
), ),
), ),
), ),
),
const SizedBox(width: 40), const SizedBox(width: 40),
], ],
), ),

@ -73,7 +73,6 @@ Widget users(
), ),
], ],
), ),
child: Expanded(
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
@ -227,8 +226,7 @@ Widget users(
), ),
), ),
Visibility( Visibility(
child: const SizedBox(height: 10), child: const SizedBox(height: 10), visible: enableRoot),
visible: enableRoot),
Visibility( Visibility(
visible: enableRoot, visible: enableRoot,
child: TextFormField( child: TextFormField(
@ -256,8 +254,7 @@ Widget users(
), ),
), ),
Visibility( Visibility(
child: const SizedBox(height: 10), child: const SizedBox(height: 10), visible: enableRoot),
visible: enableRoot),
Visibility( Visibility(
visible: enableRoot, visible: enableRoot,
child: TextFormField( child: TextFormField(
@ -298,7 +295,6 @@ Widget users(
), ),
), ),
), ),
),
const SizedBox(width: 10), const SizedBox(width: 10),
], ],
), ),

@ -370,7 +370,7 @@ class _JadeguiState extends State<Jadegui> {
}, },
); );
break; break;
case 5: /*case 5:
print("Desktop: ${currDesktop.name}"); print("Desktop: ${currDesktop.name}");
widget = const Text( widget = const Text(
'Showing Desktop screen', 'Showing Desktop screen',
@ -380,8 +380,8 @@ class _JadeguiState extends State<Jadegui> {
color: Color.fromARGB(255, 169, 0, 255), color: Color.fromARGB(255, 169, 0, 255),
), ),
); );
break; break;*/
case 6: case 5:
widget = const Text( widget = const Text(
'Showing Misc screen', 'Showing Misc screen',
style: TextStyle( style: TextStyle(
@ -391,7 +391,7 @@ class _JadeguiState extends State<Jadegui> {
), ),
); );
break; break;
case 7: case 6:
widget = const Text( widget = const Text(
'Showing Partitioning screen', 'Showing Partitioning screen',
style: TextStyle( style: TextStyle(
@ -401,7 +401,7 @@ class _JadeguiState extends State<Jadegui> {
), ),
); );
break; break;
case 8: case 7:
widget = const Text( widget = const Text(
'Showing Summary screen', 'Showing Summary screen',
style: TextStyle( style: TextStyle(
@ -411,7 +411,7 @@ class _JadeguiState extends State<Jadegui> {
), ),
); );
break; break;
case 9: case 8:
widget = const Text( widget = const Text(
'Showing Installing screen', 'Showing Installing screen',
style: TextStyle( style: TextStyle(

@ -5,6 +5,9 @@
list(APPEND FLUTTER_PLUGIN_LIST list(APPEND FLUTTER_PLUGIN_LIST
) )
list(APPEND FLUTTER_FFI_PLUGIN_LIST
)
set(PLUGIN_BUNDLED_LIBRARIES) set(PLUGIN_BUNDLED_LIBRARIES)
foreach(plugin ${FLUTTER_PLUGIN_LIST}) foreach(plugin ${FLUTTER_PLUGIN_LIST})
@ -13,3 +16,8 @@ foreach(plugin ${FLUTTER_PLUGIN_LIST})
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>) list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
endforeach(plugin) endforeach(plugin)
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
endforeach(ffi_plugin)

@ -88,6 +88,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.11" version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
meta: meta:
dependency: transitive dependency: transitive
description: description:
@ -101,7 +108,7 @@ packages:
name: path name: path
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.0" version: "1.8.1"
sky_engine: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -113,7 +120,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.1" version: "1.8.2"
stack_trace: stack_trace:
dependency: transitive dependency: transitive
description: description:
@ -148,7 +155,7 @@ packages:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.3" version: "0.4.9"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@ -162,6 +169,6 @@ packages:
name: vector_math name: vector_math
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.1" version: "2.1.2"
sdks: sdks:
dart: ">=2.15.1 <3.0.0" dart: ">=2.15.1 <3.0.0"

Loading…
Cancel
Save