Last active
October 30, 2022 08:12
-
-
Save iapicca/da0128d9708f0dc504de9c2a7c22e59f to your computer and use it in GitHub Desktop.
webp and gif test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| const webp = 'https://im3.ezgif.com/tmp/ezgif-3-08c57e6f54.webp'; | |
| const gif = 'https://roszkowski.dev/images/2020-05-04/flutter_logo_leg.gif'; | |
| void main() => runApp( | |
| MaterialApp( | |
| home: Scaffold( | |
| body: Column( | |
| children: const [ | |
| Image(image: NetworkImage(gif)), | |
| Image(image: NetworkImage(webp)) | |
| ], | |
| ), | |
| ), | |
| ), | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment