SpinnerPopScope class

SpinnerBoxbuilder 中所需要的参数, 控制单个筛选内容弹框的一些显示配置

Constructors

SpinnerPopScope({required Widget child, double scale = 0.7, double width = AutoLength, double offsetX = 0, bool isMaybeFocus = true})

Properties

child Widget
弹框视图
final
hashCode int
The hash code for this object.
no setterinherited
isMaybeFocus bool
视图是否包含焦点获取组件,解决弹框内部焦点与页面焦点冲突 默认为 true
final
offsetX double
弹框视图偏移量,默认不偏移 弹框视图与导航按钮两者position.x的偏移量
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
控制可显示内容高度比例,1.0完全占满
final
width double
指定弹框内容的宽度,默认屏幕宽度 0/AutoLength 跟随顶部导航一致 double.infinity 屏幕宽度 0 < width < screen.width 给定固定宽度
final

Methods

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