GlassVariantConstants constructor
const
GlassVariantConstants({
- required double blurSigma,
- double blurSizeRef = 0,
- double frostWideSigma = 0,
- double frostWideMixEdge = 0,
- double frostWideMixCentre = 0,
- double frostWideSizeRef = 0,
- double frostWideSizeDrop = 0,
- List<
double> toneKnots = identityToneKnots, - List<
double> smallToneKnots = identityToneKnots, - double smallSizeLo = 0,
- double smallSizeHi = 0,
- double postJacobianMax = 4,
- double ambientMix = 0,
- double ambientReach = 0,
- double toneLumaMix = 0,
- double glowStrength = 0.25,
- double normalRadiusScale = 1,
- double lensEdge = 0,
- double lensEdgeDecay = 0.6,
- double rimMix = 0,
- double rimMixWidth = 1.5,
- double rimMixCut = 1,
- double rimMixLumaFloor = 1,
- double toneLift = 0,
- double blurAspectPower = 0,
- double rimBack = 0.35,
- double lensVertical = 0,
- double rimTint = 0,
- double rimHue = 0,
- double toneLiftKnee = 0.5,
- double toneLiftSizeRef = 0,
- required double lensBand,
- required double lensStrength,
- required double lensDecay,
- required double lensSizeRef,
- required double dispersion,
- required double rimWidth,
- required double rimIntensity,
- required Color fillColor,
- required double fillOpacity,
- double fillSizeRef = 0,
- double fillSizeDrop = 0,
- required double saturation,
- required double dim,
- required double shadowRadius,
- required double shadowOpacity,
- required double tintStrength,
Creates variant constants.
Implementation
const GlassVariantConstants({
required this.blurSigma,
this.blurSizeRef = 0,
this.frostWideSigma = 0,
this.frostWideMixEdge = 0,
this.frostWideMixCentre = 0,
this.frostWideSizeRef = 0,
this.frostWideSizeDrop = 0,
this.toneKnots = identityToneKnots,
this.smallToneKnots = identityToneKnots,
this.smallSizeLo = 0,
this.smallSizeHi = 0,
this.postJacobianMax = 4,
this.ambientMix = 0,
this.ambientReach = 0,
this.toneLumaMix = 0,
this.glowStrength = 0.25,
this.postBlurShare = 0,
this.normalRadiusScale = 1,
this.lensEdge = 0,
this.lensEdgeDecay = 0.6,
this.rimMix = 0,
this.rimMixWidth = 1.5,
this.rimMixCut = 1,
this.rimMixLumaFloor = 1,
this.toneLift = 0,
this.blurAspectPower = 0,
this.rimBack = 0.35,
this.lensVertical = 0,
this.rimTint = 0,
this.rimHue = 0,
this.toneLiftKnee = 0.5,
this.toneLiftSizeRef = 0,
required this.lensBand,
required this.lensStrength,
required this.lensDecay,
required this.lensSizeRef,
required this.dispersion,
required this.rimWidth,
required this.rimIntensity,
required this.fillColor,
required this.fillOpacity,
this.fillSizeRef = 0,
this.fillSizeDrop = 0,
required this.saturation,
required this.dim,
required this.shadowRadius,
required this.shadowOpacity,
required this.tintStrength,
});