PopoverUtils class

Constructors

PopoverUtils()

Properties

appBarHeight double
getter/setter pair
bottomBarHeight double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenDensity double
getter/setter pair
screenHeight double
getter/setter pair
screenWidth double
getter/setter pair
statusBarHeight double
getter/setter pair
textScaleFactor double
getter/setter pair

Methods

getInstance() PopoverUtils
getWidgetBounds(BuildContext context) Rect
get Widget Bounds (width, height, left, top, right, bottom and so on).Widgets must be rendered completely. 获取widget Rect
getWidgetLocalToGlobal(BuildContext context) Offset
Get the coordinates of the widget on the screen.Widgets must be rendered completely. 获取widget在屏幕上的坐标,widget必须渲染完成
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance PopoverUtils
no setter