EntityTab class
Descrittore dichiarativo di una singola tab di dettaglio entità.
Pensato per essere registrato in una lista e passato a CLEntityTabs, che
filtra per guard e delega il rendering a CLTabView. Il contenuto è
costruito pigramente tramite builder: viene invocato solo quando la tab
viene effettivamente montata.
Constructors
Properties
- builder → Widget Function()
-
Costruttore pigro del contenuto della tab.
final
- domain → EntityDomain
-
Dominio applicativo di provenienza.
final
- guard → bool Function()?
-
Gate di visibilità basato sui permessi.
null=> sempre visibile; altrimenti la tab è mostrata solo quando la callback ritornatrue.final - hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Icona opzionale mostrata accanto alla label.
final
- key → String
-
Identificatore stabile della tab (es.
'profile','contracts').final - label → String
-
Etichetta mostrata nella tab bar.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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