GlassInteractionSettings constructor
const
GlassInteractionSettings({
- double? stretch,
- double? interactionScale,
- double? resistance,
- bool? anchorStretch,
- AnchorStretchSettings? anchorStretchSettings,
Creates interaction settings for glass widgets.
All values are optional. When null, the widget's own hardcoded default is used (preserving backward compatibility). When set, the value acts as a theme-level default that individual widgets can override.
Implementation
const GlassInteractionSettings({
this.stretch,
this.interactionScale,
this.resistance,
this.anchorStretch,
this.anchorStretchSettings,
});