CNSheetPage class

A page of a CNNativeSheet: a title, navigation bar buttons and a native list.

With more than one page, the sheet shows a tab bar inside it, with a tab per page labeled with title and sfSymbol.

Constructors

CNSheetPage({required String title, CNSymbol? sfSymbol, CNSymbol? activeSfSymbol, int? badgeCount, List<CNSheetButton> buttons = const [], List<CNListItem> items = const []})
Creates a sheet page.
const

Properties

activeSfSymbol → CNSymbol?
The SF Symbol of the page's tab while it is selected. Defaults to sfSymbol.
final
badgeCount → int?
Badge count on the page's tab. Null or 0 shows no badge.
final
buttons → List<CNSheetButton>
Buttons at the trailing end of the title.
final
hashCode → int
The hash code for this object.
no setterinherited
items → List<CNListItem>
The page's rows.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sfSymbol → CNSymbol?
The SF Symbol of the page's tab.
final
title → String
The page's title, drawn large next to buttons, and its tab's label.
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