profile_avatar_ts 0.0.1
profile_avatar_ts: ^0.0.1 copied to clipboard
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.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add profile_avatar_tsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
profile_avatar_ts: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:profile_avatar_ts/profile_avatar.dart';
import 'package:profile_avatar_ts/profile_avatar_method_channel.dart';
import 'package:profile_avatar_ts/profile_avatar_platform_interface.dart';
import 'package:profile_avatar_ts/profile_avatar_web.dart';