Results for “Preview”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- Previewclass
Annotation used to mark functions that return a widget preview. widget_previews.Preview Preview Preview class widget_previews
- PreviewThemeDataclass
Interface for supplying theming data to a Preview. widget_previews.PreviewThemeData PreviewThemeData Preview Theme Data class widget_previews
- PreviewBuilderclass
utility class used to build a Preview instance. widget_previews.PreviewBuilder PreviewBuilder Preview Builder class widget_previews
- PreviewLocalizationsDataclass
collection of localization objects and callbacks for use in widget previews. widget_previews.PreviewLocalizationsData PreviewLocalizationsData Preview Localizations Data class widget_previews
- PreviewBuilder.newconstructor
Creates a PreviewBuilder with no initial state. widget_previews.PreviewBuilder.PreviewBuilder.new PreviewBuilder new Preview Builder.new constructor widget_previews
- Preview.newconstructor
used to mark functions that return widget previews. widget_previews.Preview.Preview.new Preview new Preview.new constructor widget_previews
- PreviewLocalizationsData.newconstructor
collection of localization objects and callbacks for use in widget previews. widget_previews.PreviewLocalizationsData.PreviewLocalizationsData.new PreviewLocalizationsData new Preview Localizations Data.new constructor widget_previews
- PreviewThemeData.newconstructor
Abstract const constructor. widget_previews.PreviewThemeData.PreviewThemeData.new PreviewThemeData new Preview Theme Data.new constructor widget_previews
- MultiPreviewclass
base class used to define a custom 'multi-preview' annotation. widget_previews.MultiPreview MultiPreview Multi Preview class widget_previews
- MultiPreviewThemeDataclass
PreviewThemeData that applies multiple themes in sequence, where the first theme in the list is the outermost wrapper. widget_previews.MultiPreviewThemeData MultiPreviewThemeData Multi Preview Theme Data class widget_previews
Version changes
- When re-expanding a preview group in the Widget Previewer, previews crash due to a type error in scroll restoration.3.47.5bugfix
When re-expanding a preview group in the Widget Previewer, previews crash due to a type error in scroll restoration
- `flutter widget-preview start` crashes if a file named `pubspec.yaml` is modified outside the root of the previewed project.3.38.4bugfix
flutter widget-preview start` crashes if a file named `pubspec.yaml` is modified outside the root of the previewed project
- When running flutter widget-preview start with Flutter Web disabled, an exception is thrown and the widget previewer fails to start.3.38.2bugfix
When running flutter widget-preview start with Flutter Web disabled, an exception is thrown and the widget previewer fails to start
- [ Widget Preview] Add `group` property to `Preview`3.38.0tooling
Widget Preview] Add `group` property to `Preview` (Framework, by @bkonyi). Preview
- [ Widget Preview ] Don't try to instantiate invalid `@Preview()` applications3.38.0tooling
Widget Preview ] Don't try to instantiate invalid `@Preview()` applications (Tooling, by @bkonyi
- [ Widget Preview ] Move widget_preview_scaffold tests to `dev/integration_tests/widget_preview_scaffold`3.44.0tooling
Widget Preview ] Move widget_preview_scaffold tests to `dev/integration_tests/widget_preview_scaffold` (Tooling, by @bkonyi
- [ Widget Preview ] Add analytic event that's reported when the previewer is opened3.41.0tooling
Widget Preview ] Add analytic event that's reported when the previewer is opened (Tooling, by @bkonyi
- [ Widget Preview ] Handle collections and records in custom preview annotations3.44.0tooling
Widget Preview ] Handle collections and records in custom preview annotations (Tooling, by @bkonyi
- [ Widget Preview ] Use analysis server for widget preview detection3.44.0tooling
Widget Preview ] Use analysis server for widget preview detection (Tooling, by @bkonyi
- [ Widget Preview ] Allow for custom `Preview` annotations, add support for runtime transformations3.38.0tooling
Widget Preview ] Allow for custom `Preview` annotations, add support for runtime transformations (Framework, by @bkonyi). Preview
- [ Widget Preview ] Fix crash when attempting to provide non-const params to a `Preview`3.38.0tooling
Widget Preview ] Fix crash when attempting to provide non-const params to a `Preview` (Tooling, by @bkonyi). Preview
- [ Widget Preview ] Fix crash when `widget_preview_scaffold/.dart_tool` doesn't exist3.41.0tooling
Widget Preview ] Fix crash when `widget_preview_scaffold/.dart_tool` doesn't exist (Tooling, by @bkonyi
- [ Widget Preview ] Fix crash when `@Preview` annotations appeared outside of `lib/`3.44.0tooling
Widget Preview ] Fix crash when `@Preview` annotations appeared outside of `lib/` (Tooling, by @bkonyi
- [widget-preview] Copy host web directory to widget preview scaffold3.47.0tooling
widget-preview] Copy host web directory to widget preview scaffold (Tooling, by @bkonyi
- [ Widget Preview ] Respond to IDE navigation events and show previews from the currently focused script3.38.0tooling
Widget Preview ] Respond to IDE navigation events and show previews from the currently focused script (Tooling, by @bkonyi
- [ Widget Preview ] Don't update filtered preview set when selecting non-source files3.38.0tooling
Widget Preview ] Don't update filtered preview set when selecting non-source files (Tooling, by @bkonyi
- [ Widget Preview ] Move `--dtd-url` from a global flag to a `widget-preview start` option3.38.0tooling
Widget Preview ] Move `--dtd-url` from a global flag to a `widget-preview start` option (Tooling, by @bkonyi
- - Don't crash widget preview when a directory watcher restarts on Windows.3.35.2bugfix
crash widget preview when a directory watcher restarts on Windows
- - Fixes a null assertion when trying to add `@Preview()` to invalid nodes.3.35.2bugfix
Fixes a null assertion when trying to add `@Preview()` to invalid nodes
- Fixes missing preview reload timing analytics in LspPreviewDetector across all platforms.3.47.4bugfix
Fixes missing preview reload timing analytics in LspPreviewDetector across all platforms
- - Fixes an issue where starting a widget preview fails if Chrome or Edge is not installed.3.35.2bugfix
Fixes an issue where starting a widget preview fails if Chrome or Edge is not installed
- Widget preview command can crash on exit if in the middle of analyzing changes to a Dart file.3.38.2bugfix
Widget preview command can crash on exit if in the middle of analyzing changes to a Dart file
- The widget previewer fails to start if flutter pub get has not been run in the target project.3.38.2bugfix
widget previewer fails to start if flutter pub get has not been run in the target project
- Running flutter pub get can crash the widget previewer when plugin dependencies are added or updated.3.38.2bugfix
Running flutter pub get can crash the widget previewer when plugin dependencies are added or updated
- `flutter widget-preview start` can crash if `.dart_tool/widget_preview_scaffold/.dart_tool` doesn't exist on subsequent runs.3.38.4bugfix
flutter widget-preview start` can crash if `.dart_tool/widget_preview_scaffold/.dart_tool` doesn't exist on subsequent runs
- When DTD connection is lost or fails at startup during widget-preview on all platforms, the tool crashes with unhandled exceptions...3.44.2bugfix
When DTD connection is lost or fails at startup during widget-preview on all platforms, the tool crashes with unhandled exceptions instead of exiting gracefully
- - `flutter widget-preview start` creates new cached build artifacts on each run, resulting in increasing disk usage after each run.3.38.6bugfix
flutter widget-preview start` creates new cached build artifacts on each run, resulting in increasing disk usage after each
- [ Widget Preview ] Rework UI and theming3.38.0tooling
Widget Preview ] Rework UI and theming (Tooling, by @bkonyi
- [Framework/Tool] Decouple preview theme imports3.47.0improvement
Framework/Tool] Decouple preview theme imports (Framework, by @bkonyi
- [ Widget Preview ] Ignore changes under `ios/.symlinks`3.41.0tooling
Widget Preview ] Ignore changes under `ios/.symlinks` (Tooling, by @bkonyi
- [ Widget Preview ] Add `--machine` mode3.38.0tooling
Widget Preview ] Add `--machine` mode (Tooling, by @bkonyi
- [ Widget Preview ] Cleanup for experimental release3.38.0tooling
Widget Preview ] Cleanup for experimental release (Framework, by @bkonyi
- [ Widget Preview ] Improve `--machine` output3.38.0tooling
Widget Preview ] Improve `--machine` output (Tooling, by @bkonyi
- [ Widget Preview ] Fix `WidgetInspectorService` override3.38.0tooling
Widget Preview ] Fix `WidgetInspectorService` override (Tooling, by @bkonyi). WidgetInspectorService
- [ Widget Previews ] Add support for `MultiPreview`s3.38.0tooling
Widget Previews ] Add support for `MultiPreview`s (Framework, by @bkonyi). MultiPreview
- [ Widget Preview ] Fix filter by file on Windows3.38.0tooling
Widget Preview ] Fix filter by file on Windows (Tooling, by @bkonyi
- Move widget_preview_scaffold into pub workspace3.47.0tooling
Move widget_preview_scaffold into pub workspace (Tooling, by @bkonyi
- Move widget_preview_scaffold into pub workspace3.47.0improvement
Move widget_preview_scaffold into pub workspace (Other changes, by @jmagman
- [ Widget Preview ] Improve IDE integration support3.38.0tooling
Widget Preview ] Improve IDE integration support (Tooling, by @bkonyi
- [ Widget Preview ] Always generate scaffold under `$TMP`3.41.0tooling
Widget Preview ] Always generate scaffold under `$TMP` (Tooling, by @bkonyi
- [ Widget Preview ] Add support for DevTools configuration3.38.0tooling
Widget Preview ] Add support for DevTools configuration (Tooling, by @bkonyi). DevTools
- [ Widget Preview ] Add embedded Widget Inspector support3.41.0tooling
Widget Preview ] Add embedded Widget Inspector support (Tooling, by @bkonyi
- [ Tool ] Stop generating widget preview scaffold under $TMP3.47.0tooling
Tool ] Stop generating widget preview scaffold under $TMP (Tooling, by @bkonyi
- Tool: Add search and filtering to widget preview scaffold3.44.0tooling
Tool: Add search and filtering to widget preview scaffold (Tooling, by @NamanGoyalK
- [ Widget Preview ] Add support for `dart:ffi` imports3.41.0tooling
Widget Preview ] Add support for `dart:ffi` imports (Web, by @bkonyi
- [ Widget Preview ] Ignore modifications to files in ephemeral directories3.41.0tooling
Widget Preview ] Ignore modifications to files in ephemeral directories (Tooling, by @bkonyi
- [ Widget Preview ] Add `--web-server` support3.38.0tooling
Widget Preview ] Add `--web-server` support (Tooling, by @bkonyi
- [ Widget Preview ] Don't crash when directory watcher restarts on Windows3.38.0tooling
Widget Preview ] Don't crash when directory watcher restarts on Windows (Tooling, by @bkonyi
- [ Widget Preview ] Report an error if a web device is unavailable3.38.0tooling
Widget Preview ] Report an error if a web device is unavailable (Tooling, by @bkonyi
- [ Tool ] Cleanup widget preview and frontend server shutdown3.38.0tooling
Tool ] Cleanup widget preview and frontend server shutdown (Tooling, by @bkonyi