Script constructor

const Script({
  1. NodeElement? child,
  2. List<NodeElement>? children,
  3. bool async = false,
  4. bool defer = false,
  5. String? src,
  6. String? type,
})

Implementation

const Script({
  NodeElement? child,
  List<NodeElement>? children,
  this.async = false,
  this.defer = false,
  this.src,
  this.type,
}) : super(child: child, children: children);