SpinnerEntity class
弹框显示配置
Constructors
-
SpinnerEntity({required String key, bool isRadio = true, String title = '', MoreContentType type = MoreContentType.wrap, String desc = '', String titleSuffix = '', dynamic extraData, List<
SpinnerItemData> items = const []}) -
const
-
SpinnerEntity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- desc → String
-
问号描述,点击显示内容
final
- extraData → dynamic
-
额外视图的选择结构(eg: picker,input...)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRadio → bool
-
是否单选
final
-
items
→ List<
SpinnerItemData> -
选项集
final
- key → String
-
服务器字段
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
标题,空不显示
final
- titleSuffix → String
-
标题后面的额外图片(本地图片)
final
- type → MoreContentType
-
每组内容的显示风格
final
Methods
-
copyWith(
{String? key, bool? isRadio, String? title, MoreContentType? type, String? desc, String? titleSuffix, dynamic extraData, List< SpinnerItemData> ? items}) → SpinnerEntity -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited