CNCustomSheetItem class

An item to display in a custom widget sheet

Constructors

CNCustomSheetItem({required String? title, String? icon, bool dismissOnTap = true})
Creates a simple sheet item with title and optional icon.
const
CNCustomSheetItem.widget({required Widget? widget, bool dismissOnTap = true})
Creates a sheet item with a custom Flutter widget. Custom widgets use Flutter overlay rendering for rich custom UI.
const

Properties

dismissOnTap bool
final
hashCode int
The hash code for this object.
no setterinherited
icon String?
final
isCustomWidget bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
final
widget Widget?
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