Last active
June 17, 2019 23:31
-
-
Save datafoya/557124d7e69108d9c2a49feb56223579 to your computer and use it in GitHub Desktop.
Test
This file contains 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_web/material.dart'; | |
import 'package:flutter_web_test/flutter_web_test.dart'; | |
import 'package:flutter_web_ui/ui.dart' as ui; | |
class MyWidget extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
Row( | |
mainAxisAlignment: MainAxisAlignment.spaceEvenly, | |
children: [ | |
Image.network('https://github.com/flutter/website/blob/master/examples/layout/sizing/images/pic1.jpg'), | |
Image.network('https://github.com/flutter/website/blob/master/examples/layout/sizing/images/pic2.jpg'), | |
Image.network('https://github.com/flutter/website/blob/master/examples/layout/sizing/images/pic3.jpg'), | |
], | |
); |
This file contains 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
Future<void> main() async { | |
await ui.webOnlyInitializePlatform(); | |
runApp(MyApp()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment