我在许多示例中都看到了这个导入语句,但在任何地方都找不到该包的任何文档。
import 'package:flutter/foundation.dart';
我是否漏掉了一些明显的东西?
谢谢。
最佳答案
有关 flutter/foundation 的文档可用 here
foundation library
Core Flutter framework primitives.
The features defined in this library are the lowest-level utility classes and functions used by all the other layers of the Flutter framework.
关于dart - 导入 'package:flutter/foundation.dart' ;没有包装文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50542214/