Skip to content

Commit 8185bbf

Browse files
committed
ist schöner jetzt
1 parent c869ac9 commit 8185bbf

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'package:ka_client/api_connection.dart';
44
import 'package:ka_client/style_components/app_scaffold.dart';
55

66
void main() {
7-
runApp(MyApp());
7+
runApp(MyApp()); // start argument in additional run arg: -d chrome --web-browser-flag "--disable-web-security"
88
}
99

1010
class MyApp extends StatelessWidget {

lib/style_components/price_chart.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class PriceChart extends StatelessWidget {
88
@override
99
Widget build(BuildContext context) {
1010
return LineChart(
11+
1112
LineChartData(
1213
lineBarsData: [
1314
LineChartBarData(
@@ -16,6 +17,7 @@ class PriceChart extends StatelessWidget {
1617
.entries
1718
.map((e) => FlSpot(e.key.toDouble(), e.value.toDouble()))
1819
.toList(),
20+
isCurved:true, //ist schön
1921
),
2022
],
2123
clipData: const FlClipData.all(),

windows/flutter/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ include(${EPHEMERAL_DIR}/generated_config.cmake)
1010
# https://github.com/flutter/flutter/issues/57146.
1111
set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper")
1212

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+
1318
# === Flutter Library ===
1419
set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll")
1520

@@ -92,7 +97,7 @@ add_custom_command(
9297
COMMAND ${CMAKE_COMMAND} -E env
9398
${FLUTTER_TOOL_ENVIRONMENT}
9499
"${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat"
95-
windows-x64 $<CONFIG>
100+
${FLUTTER_TARGET_PLATFORM} $<CONFIG>
96101
VERBATIM
97102
)
98103
add_custom_target(flutter_assemble DEPENDS

0 commit comments

Comments
 (0)