MorphGlassOptics constructor

const MorphGlassOptics({
  1. double liftedDisplacement = 9,
  2. double unliftedDisplacement = 0,
  3. double unliftedBlurRadius = 0,
  4. double contentWrapperDisplacement = -17.5,
  5. double innerShadowRadius = 3,
  6. double innerShadowOpacity = 0.06,
  7. double innerShadowOffsetY = 7,
})

Creates optics from explicit values.

Implementation

const MorphGlassOptics({
  this.liftedDisplacement = 9,
  this.unliftedDisplacement = 0,
  this.unliftedBlurRadius = 0,
  this.contentWrapperDisplacement = -17.5,
  this.innerShadowRadius = 3,
  this.innerShadowOpacity = 0.06,
  this.innerShadowOffsetY = 7,
});