Skip to content

[rfw] Workaround IconData parameters must be const - #10858

Closed
dcharkes wants to merge 2 commits into
mainfrom
icon-data-must-be-const
Closed

[rfw] Workaround IconData parameters must be const#10858
dcharkes wants to merge 2 commits into
mainfrom
icon-data-must-be-const

Conversation

@dcharkes

@dcharkesdcharkes commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

A patch for:

I am assuming that the remote flutter widgets cannot be used together with the icon tree shaker?

@github-actionsgithub-actionsBot added the p: rfw Remote Flutter Widgets label Jan 22, 2026
@dcharkes

Copy link
Copy Markdown
ContributorAuthor

@yjbanov Would you happen to know who owns this and can explain to me how the icon fonts work in RFW?

github-merge-queueBot pushed a commit to flutter/flutter that referenced this pull request Mar 24, 2026
2026-03-18 update, no push-back on the breaking changes. Migrations done
downstream:
* fluttercommunity/font_awesome_flutter#297
*
PiotrRogulski/kanji_app@76973c7
* flutter/packages#11216
* FaFre/WebLibre#214
* flutter/devtools#9718
-----------
Applying breaking changes:
* #181342
* #181344
See the issue descriptions for the motivation.
cc @Piinks It seems we have a non-const use in the Remote Flutter Widgets:
https://github.com/flutter/packages/blob/d0c7d1fad77331724882614345137221c77d5758/packages/rfw/lib/src/flutter/argument_decoders.dart#L801-L811
The package itself makes no mention of it not work with the Flutter Icon
Tree Shaker. If it's a know issue that the icon tree shaker is not
supported with `package:rfw` we can add `// ignore:
non_const_argument_for_const_parameter`.
(flutter/packages#10858)
mboetger pushed a commit to mboetger/flutter that referenced this pull request Mar 26, 2026
2026-03-18 update, no push-back on the breaking changes. Migrations done
downstream:
* fluttercommunity/font_awesome_flutter#297
*
PiotrRogulski/kanji_app@76973c7
* flutter/packages#11216
* FaFre/WebLibre#214
* flutter/devtools#9718
-----------
Applying breaking changes:
* flutter#181342
* flutter#181344
See the issue descriptions for the motivation.
cc @Piinks It seems we have a non-const use in the Remote Flutter Widgets:
https://github.com/flutter/packages/blob/d0c7d1fad77331724882614345137221c77d5758/packages/rfw/lib/src/flutter/argument_decoders.dart#L801-L811
The package itself makes no mention of it not work with the Flutter Icon
Tree Shaker. If it's a know issue that the icon tree shaker is not
supported with `package:rfw` we can add `// ignore:
non_const_argument_for_const_parameter`.
(flutter/packages#10858)
ahmedsameha1 pushed a commit to ahmedsameha1/flutter that referenced this pull request Apr 14, 2026
2026-03-18 update, no push-back on the breaking changes. Migrations done
downstream:
* fluttercommunity/font_awesome_flutter#297
*
PiotrRogulski/kanji_app@76973c7
* flutter/packages#11216
* FaFre/WebLibre#214
* flutter/devtools#9718
-----------
Applying breaking changes:
* flutter#181342
* flutter#181344
See the issue descriptions for the motivation.
cc @Piinks It seems we have a non-const use in the Remote Flutter Widgets:
https://github.com/flutter/packages/blob/d0c7d1fad77331724882614345137221c77d5758/packages/rfw/lib/src/flutter/argument_decoders.dart#L801-L811
The package itself makes no mention of it not work with the Flutter Icon
Tree Shaker. If it's a know issue that the icon tree shaker is not
supported with `package:rfw` we can add `// ignore:
non_const_argument_for_const_parameter`.
(flutter/packages#10858)
@Piinks

Copy link
Copy Markdown
Contributor

Hey @dcharkes I think @Hixie is a reviewer for this package. I will inquire with others as well to take a look and answer your question here.

@dcharkes

Copy link
Copy Markdown
ContributorAuthor

I forgot about this PR and made a duplicate one that was landed:

@guidezpl
guidezpl deleted the icon-data-must-be-const branch August 10, 2026 14:47
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p: rfwRemote Flutter Widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@dcharkes@Piinks@stuartmorgan-g