CLContainer class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CLContainer
- Available extensions
Constructors
- CLContainer({Key? key, required Widget child, String? title, bool showShadow = true, Widget? customHeader, EdgeInsets? contentPadding, EdgeInsets? contentMargin, double? height, double? width, Color? backgroundColor, BoxConstraints? constraints, BorderRadius? borderRadius, String? actionTitle, Widget? titleWidget, Widget? actionWidget, dynamic onActionTap()?, bool glassmorphism = false, bool showBorder = false, Color? titleBackgroundColor, Widget? titleIcon, bool plainHeader = false, bool externalTitle = false, bool recessed = false, bool showTitleDivider = false})
-
const
Properties
- actionTitle → String?
-
final
- actionWidget → Widget?
-
final
- backgroundColor → Color?
-
final
- borderRadius → BorderRadius?
-
final
- child → Widget
-
final
- constraints → BoxConstraints?
-
final
- contentMargin → EdgeInsets?
-
final
- contentPadding → EdgeInsets?
-
final
- customHeader → Widget?
-
final
- externalTitle → bool
-
Titolo FUORI dalla card: title/titleWidget (+ titleIcon/azione)
renderizzati come riga sopra la card, con gap
gapSm(8) prima della superficie. La card non mostra la barra titolo interna. Defaulttrue.final - glassmorphism → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onActionTap → dynamic Function()?
-
final
- plainHeader → bool
-
Header "grouped" stile iOS: titolo come label sopra il contenuto, senza
barra di sfondo grigia né divider inferiore. La card resta una superficie
unica delimitata da bordo/contrasto. Default
false(header classico).final - recessed → bool
-
Superficie "incassata": background CLTheme.primaryBackground e NESSUNA
ombra esterna (ignora showShadow). Pensata per sotto-aree dentro una card
L1 (secondaryBackground): si delinea per contrasto, effetto "pozzo".
backgroundColor esplicito ha comunque precedenza; showBorder resta opt-in.
Default
false.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showBorder → bool
-
final
- showShadow → bool
-
final
- showTitleDivider → bool
-
Divider sotto il titolo (header classico). Default
false.final - title → String?
-
final
- titleBackgroundColor → Color?
-
final
- titleIcon → Widget?
-
Icona opzionale mostrata a sinistra del title.
Ignorata se viene fornito titleWidget.
final
- titleWidget → Widget?
-
final
- width → double?
-
final
Methods
-
animateOnActionTrigger(
AnimationInfo animationInfo, {bool hasBeenTriggered = false}) → Widget -
Available on Widget, provided by the AnimatedWidgetExtension extension
-
animateOnPageLoad(
AnimationInfo animationInfo) → Widget -
Available on Widget, provided by the AnimatedWidgetExtension extension
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< CLContainer> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited