Skip to content

Instantly share code, notes, and snippets.

@frank06
Created January 5, 2020 01:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frank06/9fb19c877a6f88bf7f2872f816219203 to your computer and use it in GitHub Desktop.
Save frank06/9fb19c877a6f88bf7f2872f816219203 to your computer and use it in GitHub Desktop.
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