From 8fd5aeb282830257315f24c9214838bc810d3f70 Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 4 May 2022 22:32:04 +0100 Subject: [PATCH] docs: changed template name --- packages/pinball_flame/lib/src/canvas/canvas_component.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/pinball_flame/lib/src/canvas/canvas_component.dart b/packages/pinball_flame/lib/src/canvas/canvas_component.dart index 581c4281..62c2c86f 100644 --- a/packages/pinball_flame/lib/src/canvas/canvas_component.dart +++ b/packages/pinball_flame/lib/src/canvas/canvas_component.dart @@ -9,7 +9,7 @@ import 'package:pinball_flame/src/canvas/canvas_wrapper.dart'; /// the [Sprite]. typedef PaintFunction = void Function(Paint)?; -/// {@template canvas} +/// {@template canvas_component} /// Allows listening before the rendering of [Sprite]s. /// /// The existance of this class is to hack around the fact that Flame doesn't @@ -17,7 +17,7 @@ typedef PaintFunction = void Function(Paint)?; /// [Sprite]. /// {@endtemplate} class CanvasComponent extends Component { - /// {@macro canvas} + /// {@macro canvas_component} CanvasComponent({ PaintFunction? onSpritePainted, Iterable? children,