mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Make AssetImage constructor const
This commit is contained in:
parent
724388d24f
commit
1e3a85fe73
@ -1413,7 +1413,7 @@ class AsyncImage extends StatelessComponent {
|
||||
}
|
||||
|
||||
class AssetImage extends StatelessComponent {
|
||||
AssetImage({
|
||||
const AssetImage({
|
||||
Key key,
|
||||
this.name,
|
||||
this.bundle,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user