Files
flutter/packages/flutter_tools/templates/widget_preview_scaffold/pubspec.yaml.tmpl
Ben Konyi d6c0d6fee7 [ Widget Previews ] Add widget_preview_scaffold.shard to test the widget_preview_scaffold template contents (#166358)
Adds a new `widget_preview_scaffold.shard` directory which contains a
hydrated `widget_preview_scaffold` template. This will allow for us to
write widget tests against the widgets defined in the templates.

This PR doesn't add any widget tests and is only adding the ability to
run these tests in follow up changes.

Fixes https://github.com/flutter/flutter/issues/166416
2025-04-04 18:43:52 +00:00

20 lines
401 B
Cheetah

name: widget_preview_scaffold
description: Scaffolding for Flutter Widget Previews
publish_to: 'none'
version: 0.0.1
environment:
sdk: {{dartSdkVersionBounds}}
dependencies:
flutter:
sdk: flutter
flutter_test:
sdk: flutter
# These will be replaced with proper constraints after the template is hydrated.
flutter_lints: any
stack_trace: any
flutter:
uses-material-design: true