CNPullDownMenuSubmenu class

A submenu in a pull-down menu.

Inheritance

Constructors

CNPullDownMenuSubmenu({required String title, required List<CNPullDownMenuEntry> items, CNSymbol? icon, String? subtitle})
Creates a submenu with its own items.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon CNSymbol?
Optional SF Symbol shown before the title.
final
items List<CNPullDownMenuEntry>
Items in the submenu.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String?
Optional subtitle text shown below the title in gray.
final
title String
Title of the submenu.
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