SpinnerHeaderData class

初始化传入的标题内容

[title] 标题
[icon] 图片路径,本地路径
[iconSelected] 图片路径,本地路径

Constructors

SpinnerHeaderData(String title, {String? icon, String? iconSelected})
SpinnerHeaderData.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String?
图片路径,本地路径
final
iconSelected String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
标题
final

Methods

copyWith({String? title, String? icon, String? iconSelected}) SpinnerHeaderData
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