SpinnerData class

初始化传入的标题内容

Constructors

SpinnerData(String title, {String? icon, String? iconSelected})

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}) SpinnerData
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