awesomeavatar 0.0.5 copy "awesomeavatar: ^0.0.5" to clipboard
awesomeavatar: ^0.0.5 copied to clipboard

PlatformAndroidiOS
outdated

A Nice Pack for Cool Avatars (Demo Plugin)

example/lib/main.dart

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,
          ),
        ),
      ),
    );
  }
}
3
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A Nice Pack for Cool Avatars (Demo Plugin)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on awesomeavatar