Created
January 5, 2020 01:00
-
-
Save frank06/9fb19c877a6f88bf7f2872f816219203 to your computer and use it in GitHub Desktop.
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/material.dart'; | |
main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(context) { | |
return MaterialApp( | |
home: Scaffold( | |
body: Center( | |
child: CircleAvatar( | |
radius: 120, | |
backgroundImage: NetworkImage('https://source.unsplash.com/collection/4141224') | |
), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment