avatar_maker 0.0.0 avatar_maker: ^0.0.0 copied to clipboard
A light-weight and highly customizable SVG avatar library for Flutter apps. Provides a Customizer Widget, CircleAvatar and other utility functions that are ready-to-use.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add avatar_maker
With Flutter:
$ flutter pub add avatar_maker
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
avatar_maker: ^0.0.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:avatar_maker/defaults.dart';
import 'package:avatar_maker/fluttermoji.dart';
import 'package:avatar_maker/fluttermojiCircleAvatar.dart';
import 'package:avatar_maker/fluttermojiController.dart';
import 'package:avatar_maker/fluttermojiCustomizer.dart';
import 'package:avatar_maker/fluttermojiFunctions.dart';
import 'package:avatar_maker/fluttermojiSaveWidget.dart';
import 'package:avatar_maker/fluttermojiThemeData.dart';
import 'package:avatar_maker/fluttermoji_assets/clothes/clothes.dart';
import 'package:avatar_maker/fluttermoji_assets/face/eyebrow/eyebrow.dart';
import 'package:avatar_maker/fluttermoji_assets/face/eyes/eyes.dart';
import 'package:avatar_maker/fluttermoji_assets/face/mouth/mouth.dart';
import 'package:avatar_maker/fluttermoji_assets/face/nose/nose.dart';
import 'package:avatar_maker/fluttermoji_assets/fluttermojimodel.dart';
import 'package:avatar_maker/fluttermoji_assets/skin.dart';
import 'package:avatar_maker/fluttermoji_assets/style.dart';
import 'package:avatar_maker/fluttermoji_assets/top/accessories/accessories.dart';
import 'package:avatar_maker/fluttermoji_assets/top/facialHair/facialHair.dart';
import 'package:avatar_maker/fluttermoji_assets/top/hairStyles/hairStyle.dart';