KeyExt extension

on

Properties

location Offset?

Available on GlobalKey<State<StatefulWidget>>, provided by the KeyExt extension

获得控件正下方的坐标:
no setter
marginTop double

Available on GlobalKey<State<StatefulWidget>>, provided by the KeyExt extension

获取当前view距离顶部的高度
no setter

Methods

includeGlobalKey(GlobalKey<State<StatefulWidget>> otherGlobalKey) bool

Available on GlobalKey<State<StatefulWidget>>, provided by the KeyExt extension

includeLocalPosition(Offset otherOffset) bool

Available on GlobalKey<State<StatefulWidget>>, provided by the KeyExt extension

includeOffset(Offset otherOffset) bool

Available on GlobalKey<State<StatefulWidget>>, provided by the KeyExt extension

判断位置是否在当前控件里面
includeWidget(GlobalKey<State<StatefulWidget>> otherGlobalKey) bool

Available on GlobalKey<State<StatefulWidget>>, provided by the KeyExt extension

判断控件的位置是否在当前控件里面