profile_avatar_ts 0.0.1 copy "profile_avatar_ts: ^0.0.1" to clipboard
profile_avatar_ts: ^0.0.1 copied to clipboard

outdated

Generate your profile avatar by Image url, name or by default it will return avatar icon, Its pretty easy to use and fully customizable based on shape, color, size and style so all control is on your hand.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:profile_avatar_ts/profile_avatar.dart';


void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: const Text('Avatar Plugin'),
          ),
          body: Padding(
            padding: const EdgeInsets.all(20.0),
            child: Column(
              children: [
                Avatar(borderRadius: 50, avatarSize:80,borderColor: Colors.green, borderWidth: 5,name: "Techsuzu", ),
                const SizedBox(
                  height: 20,
                ),
                Avatar(borderRadius: 80, avatarSize:80,borderColor: Colors.blue, borderWidth: 5,)
              ],
            ),
          )),
    );
  }
}
3
likes
140
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

Generate your profile avatar by Image url, name or by default it will return avatar icon, Its pretty easy to use and fully customizable based on shape, color, size and style so all control is on your hand.

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on profile_avatar_ts

Packages that implement profile_avatar_ts