SolidMenuItem class

Simplified menu item configuration.

Constructors

SolidMenuItem({required String title, required IconData icon, Color? color, Widget? child, String? tooltip, String? message, String? dialogTitle, void onTap(BuildContext)?})
const

Properties

child Widget?
Optional child widget (displayed when menu is selected).
final
color Color?
Optional icon colour.
final
dialogTitle String?
Optional dialogue title.
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData
Menu icon.
final
message String?
Optional message dialogue content.
final
onTap → void Function(BuildContext)?
Optional tap callback.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Menu title.
final
tooltip String?
Optional tooltip.
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