ElMenuModel class

Constructors

ElMenuModel({required String key, required String title, Widget? icon, List<ElMenuModel> children = const []})
const

Properties

children List<ElMenuModel>
子菜单
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
菜单图标
final
key String
菜单唯一标识
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
菜单名字
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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