awesomeavatar 0.0.5 awesomeavatar: ^0.0.5 copied to clipboard
A Nice Pack for Cool Avatars (Demo Plugin)
import 'package:flutter/material.dart';
import 'package:awesomeavatar/awesomeavatar.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Demo Avatar'),
),
body: Center(
child: AwesomeAvatar(
networkImage: "https://pbs.twimg.com/profile_images/558392148697939968/FSHEYq_5_400x400.png",
backgroundColor: Colors.red,
radius: 50,
outRadius: 5,
),
),
),
);
}
}