call method

  1. @override
Object? call(
  1. Interpreter interpreter,
  2. List<Object?> arguments,
  3. Map<Symbol, Object?> namedArguments
)
override

Implementation

@override
Object? call(Interpreter interpreter, List<Object?> arguments,
    Map<Symbol, Object?> namedArguments) {
  List<Widget> children = const <Widget>[];
  var childrenParsed = namedArguments[const Symbol('children')];
  if (childrenParsed != null) {
    children = (childrenParsed as List).cast<Widget>();
  }
  Decoration? decoration;
  var decorationParsed = namedArguments[const Symbol('decoration')];
  if (decorationParsed != null) {
    decoration = decorationParsed as Decoration;
  }
  return TableRow(children: children, decoration: decoration);
}