ShellRevealControl class
Controllo che, su mobile, NON apre un overlay esterno ma RIVELA il proprio
contenuto inline nell'area contestuale (le righe di controlli collassano e
al loro posto compare panelBuilder). Toggle: ritap chiude. Lo shell tiene
lo stato di apertura (per id); il close passato chiude il pannello.
- Annotations
Constructors
- ShellRevealControl({required String id, required IconData icon, required String title, required Widget panelBuilder(BuildContext context, VoidCallback close), String? tooltip, int? badgeCount})
-
const
Properties
- badgeCount → int?
-
Badge numerico opzionale sul bottone (es. filtri attivi).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
final
- id → String
-
Identità stabile del pannello: lo shell la usa per sapere quale è aperto e
per richiuderlo da solo quando la pagina cambia i propri controlli.
final
- panelBuilder → Widget Function(BuildContext context, VoidCallback close)
-
Contenuto inline.
closerichiude il pannello (es. dopo "Applica").final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Titolo mostrato nell'header del pannello inline.
final
- tooltip → 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