FloatingConfig constructor

const FloatingConfig({
  1. bool isGlareEnabled = true,
  2. bool isShadowEnabled = true,
  3. FloatingShadowConfig shadowConfig = const FloatingShadowConfig(),
})

Configuration for making the card float as per the movement of device or mouse pointer.

Implementation

const FloatingConfig({
  this.isGlareEnabled = true,
  this.isShadowEnabled = true,
  this.shadowConfig = const FloatingShadowConfig(),
});