call method
Implementation
@override
Object? call(Interpreter interpreter, List<Object?> arguments,
Map<Symbol, Object?> namedArguments) {
Widget? child;
var childParsed = namedArguments[const Symbol('child')];
if (childParsed != null) {
child = childParsed as Widget;
}
BorderRadius? borderRadius = BorderRadius.zero;
var borderRadiusParsed = namedArguments[const Symbol('borderRadius')];
if (borderRadiusParsed != null) {
borderRadius = borderRadiusParsed as BorderRadius;
}
Clip clipBehavior = Clip.antiAlias;
var clipBehaviorParsed = namedArguments[const Symbol('clipBehavior')];
if (clipBehaviorParsed != null) {
clipBehavior = clipBehaviorParsed as Clip;
}
return ClipRRect(
child: child,
borderRadius: borderRadius,
clipBehavior: clipBehavior,
);
}