This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
关于环境和编译 #337
Unanswered
masterchen
asked this question in
Q&A
关于环境和编译
#337
Replies: 1 comment 4 replies
-
指南就不写了,所有 Flutter 项目都差不多,也没什么特别值得写的
报错说 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
你好,搭建了半天环境 😄, 请问可以写一个详细的运行起来的指南作为新手的指导吗?
安装了flutter \IDEA \Android Stuio ,IDAE 上边配置好了DART, flutter packages get
出现错误提示说Itnl版本是0.17.0 ,我给改成我当前环境的0.18.0 了, 然后get 没有报错。 最后跑下边的测试,出现错误, 请问是哪儿的问题
D:\OpenSource\github\Flutter\ecg_monitor\test\main_test.dart
/C:/Users/Administrator/AppData/Local/Pub/Cache/git/flutter_ume_kits-f44eeb3231cc36306949729ff27b04694a9415c7/packages/flutter_ume_kit_slow_animation/lib/slow_animation/slow_animation.dart:56:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance
^
/C:/Users/Administrator/AppData/Local/Pub/Cache/git/flutter_ume-7d1801c5e18e44ea4e7833f3f4a5923378827f9d/kits/flutter_ume_kit_ui/lib/third_party/cyclop/lib/src/widgets/color_button.dart:115:13: Warning: Operand of null-aware operation '?.' has type 'OverlayState' which excludes null.
'OverlayState' is from 'package:flutter/src/widgets/overlay.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/overlay.dart').
Overlay.of(rootContext)?.insert(pickerOverlay!);
^
/C:/Users/Administrator/AppData/Local/Pub/Cache/git/flutter_ume-7d1801c5e18e44ea4e7833f3f4a5923378827f9d/kits/flutter_ume_kit_ui/lib/third_party/cyclop/lib/src/widgets/eyedrop/eye_dropper_layer.dart:123:13: Warning: Operand of null-aware operation '?.' has type 'OverlayState' which excludes null.
'OverlayState' is from 'package:flutter/src/widgets/overlay.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/overlay.dart').
Overlay.of(context)?.insert(data.eyeOverlayEntry!);
^
/C:/src/flutter/packages/flutter_test/lib/src/_goldens_io.dart:8:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui';
^
Context: The unavailable library 'dart:ui' is imported through these packages:
main_test.dart => package:ecg_monitor => package:flutter => dart:ui
...
Detailed import paths for (some of) the these imports:
/C:/src/flutter/packages/flutter_test/lib/src/_matchers_io.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' as ui;
^
/C:/src/flutter/packages/flutter_test/lib/src/accessibility.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' as ui;
^
/C:/src/flutter/packages/flutter_test/lib/src/accessibility.dart:7:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui';
^
/C:/src/flutter/packages/flutter_test/lib/src/animation_sheet.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' as ui;
^
/C:/src/flutter/packages/flutter_test/lib/src/binding.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' as ui;
^
/C:/src/flutter/packages/flutter_test/lib/src/event_simulation.dart:7:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' as ui;
^
/C:/src/flutter/packages/flutter_test/lib/src/frame_timing_summarizer.dart:5:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui';
^
/C:/src/flutter/packages/flutter_test/lib/src/goldens.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui';
^
Beta Was this translation helpful? Give feedback.
All reactions