-
-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
Hi, I am experimenting your setup, trying the example of the gallery that is on Readme.
It seems it is not working. Since I don't know flutter, I cannot easily fix it, yet. Could you give me an idea on how to solve this?
➜ flutter_gallery git:(5da082d) git checkout 5da082d
HEAD is now at 5da082d null safety : Migrated standalone files to null safety (#586)
➜ flutter_gallery git:(5da082d) flutter build bundle
Running "flutter pub get" in flutter_gallery... 2,619ms
💪 Building with sound null safety 💪
lib/feature_discovery/feature_discovery.dart:224:26: Warning: Operand of null-aware operation '?.' has
type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart'
('../../../snap/flutter/common/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.addPostFrameCallback((_) {
^
lib/feature_discovery/feature_discovery.dart:240:28: Warning: Operand of null-aware operation '?.' has
type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart'
('../../../snap/flutter/common/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.addPostFrameCallback((_) {
^
../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/animations-2.0.2/lib/src/open_cont
ainer.dart:631:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes
null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart'
('../../../snap/flutter/common/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!
^
../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/animations-2.0.2/lib/src/open_cont
ainer.dart:665:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes
null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart'
('../../../snap/flutter/common/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!
^
../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart
:661:31: Error: Member not found: 'UnicodeChar'.
int get UnicodeChar => Char.UnicodeChar;
^^^^^^^^^^^
../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart
:662:38: Error: Setter not found: 'UnicodeChar'.
set UnicodeChar(int value) => Char.UnicodeChar = value;
^^^^^^^^^^^
../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart
:664:29: Error: Member not found: 'AsciiChar'.
int get AsciiChar => Char.AsciiChar;
^^^^^^^^^
../../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart
:665:36: Error: Setter not found: 'AsciiChar'.
set AsciiChar(int value) => Char.AsciiChar = value;
^^^^^^^^^
Target kernel_snapshot failed: Exception
Failed to build bundle.
➜ flutter_gallery git:(5d```
Metadata
Metadata
Assignees
Labels
No labels