Index: samples/sunflower/web/sunflower.dart |
diff --git a/samples/sunflower/web/sunflower.dart b/samples/sunflower/web/sunflower.dart |
index 07036582efeca2485cc43a15d68fa762a09dc816..06eff35d1f52bfd54e6c1d187b4f18081a1ef994 100644 |
--- a/samples/sunflower/web/sunflower.dart |
+++ b/samples/sunflower/web/sunflower.dart |
@@ -20,7 +20,7 @@ final Element notes = query("#notes"); |
final num PHI = (sqrt(5) + 1) / 2; |
int seeds = 0; |
final CanvasRenderingContext2D context = |
- (query("#canvas") as CanvasElement).context2d; |
+ (query("#canvas") as CanvasElement).context2D; |
void main() { |
slider.onChange.listen((e) => draw()); |