FDialogRouteStyle.inherit constructor
FDialogRouteStyle.inherit({
- required FColors colors,
Creates a FDialogRouteStyle that inherits its properties.
Implementation
FDialogRouteStyle.inherit({required FColors colors})
: this(
barrierFilter: (v) => .compose(
outer: .blur(sigmaX: v * 5, sigmaY: v * 5),
inner: ColorFilter.mode(FColors.lerpColor(Colors.transparent, colors.barrier, v)!, .srcOver),
),
);