GlassInteractionSettings constructor

const GlassInteractionSettings({
  1. double? stretch,
  2. double? interactionScale,
  3. double? resistance,
  4. bool? anchorStretch,
  5. 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,
});