flutter demo报错The built-in library 'dart:ui' is not available on the stand-alone VM.
'package:flutter/src/material/animated_icons.dart': error: line 9 pos 1: library handler failed
import 'dart:ui' as ui show Paint, Path, Canvas;
关于Flutter中的StatefulWidget小优化 一文,按你的写法: abstract class usefulStatefulWidget extends _Stateful with State<StatefulWidget> {}
报错:The class 'State' can't be used as a mixin because it extends a class other than Object.
官方的Demo 大概的依赖是这样的:
rxdart : ^0.16.7
rx_command: ^1.0.8
rx_widgets: ^1.0.3
报错如下:
Because rx_command <1.1.0 depends on rxdart ^0.16.6 and no versions of rx_command match >1.1.0 <2.0.0, rx_command <1.1.0-∞ or >1.1.0 <2.0.0 requires rxdart ^0.16.6.
And because rx_command 1.1.0 depends on rxdart ^0.16.7, rx_command <2.0.0 requires rxdart ^0.16.6.
So, because flutter_app depends on both rxdart ^0.18.0 and rx_command ^1.0.8, version solving failed.
pub get failed (1)