diff --git a/packages/storybook_flutter/lib/src/plugins/logging.dart b/packages/storybook_flutter/lib/src/plugins/logging.dart index 2998b8e..0065745 100644 --- a/packages/storybook_flutter/lib/src/plugins/logging.dart +++ b/packages/storybook_flutter/lib/src/plugins/logging.dart @@ -22,7 +22,7 @@ abstract interface class Logger { class LoggingNotifier extends ChangeNotifier implements Logger { final _logs = []; - var _panelVisible = false; + bool _panelVisible = false; List get logs => List.unmodifiable(_logs); @@ -44,7 +44,7 @@ extension Logging on BuildContext { Logger get logger => read(); } -Widget? _buildIcon(BuildContext context) => const Icon( +Widget _buildIcon(BuildContext context) => const Icon( Icons.format_quote, semanticLabel: 'Log output', );