diff --git a/packages/flutterfire_remote_parameter_fetcher/example/lib/main.dart b/packages/flutterfire_remote_parameter_fetcher/example/lib/main.dart index 355699b..41d25cc 100644 --- a/packages/flutterfire_remote_parameter_fetcher/example/lib/main.dart +++ b/packages/flutterfire_remote_parameter_fetcher/example/lib/main.dart @@ -38,7 +38,9 @@ class _MainAppState extends State { 'int_parameter', onConfigUpdated: (value) { debugPrint('remoteParameter value changed: $value'); - _intParameterValue = value; + setState(() { + _intParameterValue = value; + }); }, ); _intParameterValue = _intRemoteParameter.value;