Skip to content

Conversation

@kenzieschmoll
Copy link
Member

Copy link
Contributor

@kevmoo kevmoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

required this.chromeDebugPort,
required this.headless,
required this.treeShakeIcons,
this.useWasm = false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this will have the same effect as useCanvasKit above. useCanvasKit ended up being not extensible enough, so we'll need to make a breaking change to accommodate Skwasm. I wonder if we should instead have a CompilationOptions object that can be extended in the future. cc @eyebrowsoffire

Copy link
Member Author

@kenzieschmoll kenzieschmoll Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a CompilationOptions class. PTAL @yjbanov @eyebrowsoffire. Since this is a breaking change, I also did a major version bump - let me know if we want to hold off on bringing this package to '1.0.0'.

class CompilationOptions {
/// Creates a [CompilationOptions] object.
const CompilationOptions({
this.renderer = WebRenderer.html,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default should ABSOLUTELY be canvaskit. I'd say ditch the html option entirely!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this is published. Maybe just default to canvaskit

Copy link
Contributor

@eyebrowsoffire eyebrowsoffire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@kenzieschmoll kenzieschmoll merged commit 671bd3f into flutter:main Dec 8, 2023
@kenzieschmoll kenzieschmoll deleted the wasm branch December 8, 2023 01:30
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 8, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 8, 2023
flutter/packages@15584a3...6cd0657

2023-12-08 [email protected] [gis_web] Correct pub.dev changelog entry. (flutter/packages#5613)
2023-12-08 [email protected] Add the ability to run web_benchmarks with Wasm (flutter/packages#5611)
2023-12-08 [email protected] [google_sign_in] Endorse macOS implementation (flutter/packages#5600)
2023-12-07 [email protected] [go_router_builder] add support to `go_router_builder` for initializing a `ShellRoute` with `observers` (flutter/packages#5563)
2023-12-07 [email protected] [go_router] Fix(docs): Typo in Update navigation.md (flutter/packages#5545)
2023-12-07 [email protected] [two_dimensional_scrollables] Expose addAutomaticKeepAlives in Table delegates (flutter/packages#5597)
2023-12-07 [email protected] [pigeon] Fix pigeon issue_tracker link (flutter/packages#5505)
2023-12-07 [email protected] Pointer interceptor implementations (flutter/packages#5594)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@reidbaker reidbaker mentioned this pull request Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants