INNER CODE UNIT · Dart
GlassInteractionSettings
sdegenaar/liquid_glass_widgets · lib/theme/glass_interaction_settings.dart:57
class GlassInteractionSettings {
/// 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.
const GlassInteractionSettings({
this.stretch,
this.interactionScale,
this.resistance,
this.anchorStretch,
this.anchorStretchSettings,
});
/// Default interaction settings — all null, meaning each widget uses
/// its own hardcoded default.
static const GlassInteractionSettings defaults = GlassInteractionSettings();