From db8db3d7d841b4667bce9547963621c755535ed2 Mon Sep 17 00:00:00 2001 From: Kaan Aksoy Date: Thu, 30 Mar 2017 15:58:42 -0700 Subject: [PATCH] Continue going through ValidationUtil.warn calls --- lib/src/component/abstract_transition.dart | 3 ++- lib/src/component/resize_sensor.dart | 3 ++- web/src/demo_components/button_group.dart | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/src/component/abstract_transition.dart b/lib/src/component/abstract_transition.dart index e1fc053ad..3442608a4 100644 --- a/lib/src/component/abstract_transition.dart +++ b/lib/src/component/abstract_transition.dart @@ -189,7 +189,8 @@ abstract class AbstractTransitionComponent with _SafeAni void componentDidMount() { if (props.quickMount) { assert(props.onInitialize == null || ValidationUtil.warn( - 'props.onInitialize will not be called when props.quickMount is true.', this + 'props.onInitialize will not be called when props.quickMount is true.', + this )); // [1] Initialize/reset the sensor in the next animation frame after mount diff --git a/web/src/demo_components/button_group.dart b/web/src/demo_components/button_group.dart index 5144c951a..ab1dc5741 100644 --- a/web/src/demo_components/button_group.dart +++ b/web/src/demo_components/button_group.dart @@ -100,14 +100,16 @@ class ButtonGroupComponent