RuiMenuItem class

Constructors

RuiMenuItem({required String id, required IconData icon, required String title, List<String>? params, VoidCallback? onPressed, List<RuiMenuItem>? subItems, bool active = false})

Properties

active bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasSubItems bool
no setter
icon IconData
final
id String
final
onPressed VoidCallback?
final
params List<String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subItems List<RuiMenuItem>?
final
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.
inherited

Operators

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