call method
Implementation
@override
Object? call(Interpreter interpreter, List<Object?> arguments,
Map<Symbol, Object?> namedArguments) {
double minWidth =
parseDouble(namedArguments[const Symbol('minWidth')]) ?? 0;
double maxWidth = parseDouble(namedArguments[const Symbol('maxWidth')]) ??
double.infinity;
double minHeight =
parseDouble(namedArguments[const Symbol('minHeight')]) ?? 0;
double maxHeight = parseDouble(namedArguments[const Symbol('maxHeight')]) ??
double.infinity;
return BoxConstraints(
minWidth: minWidth,
maxWidth: maxWidth,
minHeight: minHeight,
maxHeight: maxHeight,
);
}