From 5ca20d130e2b34ffe9106706087c317a3bef27fd Mon Sep 17 00:00:00 2001 From: "Chase B." <104145051+cabaucom376@users.noreply.github.com> Date: Tue, 12 Nov 2024 08:28:40 -0500 Subject: [PATCH] Update creating-a-widget.md Adds `import 'package:flutter/widgets.dart';` to the button spec generation example for the generated `ButtonSpecTween` class. --- website/pages/docs/tutorials/creating-a-widget.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/pages/docs/tutorials/creating-a-widget.md b/website/pages/docs/tutorials/creating-a-widget.md index a21bc9bd9..c22ae8fbb 100644 --- a/website/pages/docs/tutorials/creating-a-widget.md +++ b/website/pages/docs/tutorials/creating-a-widget.md @@ -94,6 +94,7 @@ A Spec, which is short for Specification, is the visual properties and attribute This will look something like this: ```dart +import 'package:flutter/widgets.dart'; import 'package:mix/mix.dart'; import 'package:mix_annotations/mix_annotations.dart';