是否有用于在屏幕上用坐标系绘制图形的Flutter (Dart)库?

推荐答案

<%s>当前没有用于Flutter 的图形库.DART UI包包含canvas implementation.有一些使用该类的示例:示例mentioned in comment abovepart two in the series of those blog postthis official example in the Flutter repo.官方的画布示例似乎过时了,并不是所有的对象都在画布的可见部分内渲染.

Flutter 问题:有一个Charting library for Flutter #9043的公开问题,还有一个文档问题mentions questions regarding charting.根据这些信息,看起来Flutter 翼团队目前并没有致力于制图组件,所以这可以作为社区的努力来完成.

Update:现在有一个由Google创建的开放源码的制图Flutter 库,名为chart_flutter.在这些例子中,有一种simple line chart example可能适合你的需要.

Dart相关问答推荐

为什么在穷举switch 表达式中需要显式向下转换?

Dart 可空记录与模式匹配:(String, int)?类型的匹配值无法分配给所需类型(Object?, Object?)

Dart StreamController().stream 等于 == 但不相同

对字母数字字符串数组进行排序

播放和暂停 Flutter 动画

读取有状态(Stateful)小部件的状态

FlutterError (setState() 在 dispose() 之后调用:(生命周期状态:defunct,not mounted)

跳过 JavaScript 直接进入 Dart

如何使用Flutter在按钮网格中滑动(swipe)/拖动(drag) 2 个或更多按钮

Flutter Dismissible 坚持必须从树中删除列表项

如何在Flatter中zoom 两个谷歌 map 标记

Dart 中使用 ifAbsent 的 Map Update 方法

LinearProgressIndicator Flutter使用

不要将 PageView 居中 - Flutter

摆动中的可滚动导轨

Flutter:我应该在哪里调用 SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark)

如何在没有脚手架的情况下显示snackBar

使用 dart 下载文件

是否有任何官方计划在 Google App Engine 上支持 Dart?

Dart - 如何对 Map 的键进行排序