From b51cd3c539cb6eb0407acc9c69b6cb64ae03bd9f Mon Sep 17 00:00:00 2001 From: mohammadreza490 <47437328+mohammadreza490@users.noreply.github.com> Date: Wed, 27 Jan 2021 16:34:37 +0000 Subject: [PATCH] Update custom_layout.dart Fixed the error message (itemWith -> itemWidth) --- lib/src/custom_layout.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/custom_layout.dart b/lib/src/custom_layout.dart index 8ce77f2..5aa602d 100644 --- a/lib/src/custom_layout.dart +++ b/lib/src/custom_layout.dart @@ -13,7 +13,7 @@ abstract class _CustomLayoutStateBase extends State void initState() { if (widget.itemWidth == null) { throw new Exception( - "==============\n\nwidget.itemWith must not be null when use stack layout.\n========\n"); + "==============\n\nwidget.itemWidth must not be null when use stack layout.\n========\n"); } _createAnimationController();