Commit 5cdfb2d7 authored by Todd Volkert's avatar Todd Volkert

Merge pull request #818 from tvolkert/payouts

Make AssetImage constructor const
parents 0d8541eb 56197d43
......@@ -1413,7 +1413,9 @@ class AsyncImage extends StatelessComponent {
}
class AssetImage extends StatelessComponent {
AssetImage({
// Don't add asserts here unless absolutely necessary, since it will
// require removing the const constructor, which is an API change.
const AssetImage({
Key key,
this.name,
this.bundle,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment