File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import 'package:ka_client/api_connection.dart';
4
4
import 'package:ka_client/style_components/app_scaffold.dart' ;
5
5
6
6
void main () {
7
- runApp (MyApp ());
7
+ runApp (MyApp ()); // start argument in additional run arg: -d chrome --web-browser-flag "--disable-web-security"
8
8
}
9
9
10
10
class MyApp extends StatelessWidget {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ class PriceChart extends StatelessWidget {
8
8
@override
9
9
Widget build (BuildContext context) {
10
10
return LineChart (
11
+
11
12
LineChartData (
12
13
lineBarsData: [
13
14
LineChartBarData (
@@ -16,6 +17,7 @@ class PriceChart extends StatelessWidget {
16
17
.entries
17
18
.map ((e) => FlSpot (e.key.toDouble (), e.value.toDouble ()))
18
19
.toList (),
20
+ isCurved: true , //ist schön
19
21
),
20
22
],
21
23
clipData: const FlClipData .all (),
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ include(${EPHEMERAL_DIR}/generated_config.cmake)
10
10
# https://github.com/flutter/flutter/issues/57146.
11
11
set (WRAPPER_ROOT "${EPHEMERAL_DIR} /cpp_client_wrapper" )
12
12
13
+ # Set fallback configurations for older versions of the flutter tool.
14
+ if (NOT DEFINED FLUTTER_TARGET_PLATFORM )
15
+ set (FLUTTER_TARGET_PLATFORM "windows-x64" )
16
+ endif ()
17
+
13
18
# === Flutter Library ===
14
19
set (FLUTTER_LIBRARY "${EPHEMERAL_DIR} /flutter_windows.dll" )
15
20
@@ -92,7 +97,7 @@ add_custom_command(
92
97
COMMAND ${CMAKE_COMMAND} -E env
93
98
${FLUTTER_TOOL_ENVIRONMENT}
94
99
"${FLUTTER_ROOT} /packages/flutter_tools/bin/tool_backend.bat"
95
- windows-x64 $< CONFIG>
100
+ ${FLUTTER_TARGET_PLATFORM} $< CONFIG>
96
101
VERBATIM
97
102
)
98
103
add_custom_target (flutter_assemble DEPENDS
You can’t perform that action at this time.
0 commit comments