CNListItem class
A single row in a CNNativeList.
Rows are rendered natively (so the list is a real UIScrollView that
can drive the iOS 26 tab bar minimize). They are configured from Dart data,
but are limited to this model — not arbitrary Flutter widgets.
Constructors
- CNListItem({required String title, String? subtitle, CNSymbol? leadingSymbol, bool showChevron = false})
-
Creates a row for a CNNativeList.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- leadingSymbol → CNSymbol?
-
Optional leading SF Symbol shown in a rounded container.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showChevron → bool
-
Whether to show a trailing chevron.
final
- subtitle → String?
-
Optional secondary (subtitle) text.
final
- title → String
-
Primary text.
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