canvas property

CanvasElement canvas
final

Implementation

final html.CanvasElement canvas = html.CanvasElement()
  ..style.width = '100%'
  ..style.height = '100%';