call method
Implementation
@override
Object? call(Interpreter interpreter, List<Object?> arguments,
Map<Symbol, Object?> namedArguments) {
var children = namedArguments[const Symbol('children')];
if (children == null) {
throw "children required in TabBarView";
}
DragStartBehavior dragStartBehavior = DragStartBehavior.start;
var dragStartBehaviorParsed =
namedArguments[const Symbol('dragStartBehavior')];
if (dragStartBehaviorParsed != null) {
dragStartBehavior = dragStartBehaviorParsed as DragStartBehavior;
}
return TabBarView(
children: children as List<Widget>,
dragStartBehavior: dragStartBehavior,
);
}