CardLayout class

How one record renders as a list card — the mobile answer to Filament's data table. Laravel derives a default from the table columns; a resource may override any slot. Every slot is optional: a card with only a title is a valid list tile.

Constructors

CardLayout({String? titleField, String? subtitleField, CardLeading? leading, List<CardBadge> badges = const [], List<CardMeta> meta = const []})
const
CardLayout.empty()
const
CardLayout.fromJson(Map<String, dynamic> json, String path)
factory

Properties

badges → List<CardBadge>
final
hashCode → int
The hash code for this object.
no setterinherited
leading → CardLeading?
final
meta → List<CardMeta>
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
subtitleField → String?
final
titleField → String?
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