패키지, 저장소 및 앱 카테고리 검색

avatar_plus 표지
패키지 상세v0.0.5

avatar_plus

랜덤 문자열 콘텐츠를 가진 사용자 정의 가능한 아바타 생성 및 표시에 적합한 다양한 Flutter 패키지입니다. 사용자 프로필, 자리 표시자 등에 이상적입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1천
좋아요
54
Pub 점수
140

패키지 설치

flutter pub add avatar_plus

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Avatar Plus는 무작위 문자열 콘텐츠를 사용하여 사용자 지정 가능한 아바타를 생성하고 표시하기 위해 설계된 Flutter 패키지입니다. 다양한 시각적 스타일을 지원하며, 사용자 프로필, 채팅 인터페이스 및 플레이스홀더 이미지에 적합합니다. 이 패키지는 여러 플랫폼에서 원활하게 통합되며, 외관의 유연성과 사용 편의성을 제공합니다. 최소한의 설정으로 개발자는 다양한 맥락과 디자인 요구에 맞춰 적응하는 동적 아바타를 빠르게 구현할 수 있습니다.

사용 사례

  • 사용자 프로필 사진
  • 채팅 헤드 표시
  • 플레이스홀더 이미지
  • 대시보드 사용자 지표
  • 온보딩 화면
  • 팀원 카드

주요 기능

  • 랜덤 문자열 기반 아바타 생성
  • 사용자 정의 가능한 모양과 색상
  • 다중 플랫폼 지원
  • Flutter와의 간편한 통합
  • 사용자 정의 텍스트 및 이니셜
  • 반응형 디자인

적합한 대상

  • 빠른 아바타가 필요한 앱 개발자
  • 일관된 프로필 시각화를 찾는 UI 디자이너
  • 동적 사용자 데이터를 가진 프로젝트
  • 크로스 플랫폼 애플리케이션
  • 프로토타이핑 및 MVP 개발

고려 사항

  • 텍스트 기반 아바타로 제한
  • 내장된 이미지 업로드 지원 없음
  • 유일성을 위해 문자열 입력에 의존
  • 복잡한 디자인을 위해 맞춤 스타일링이 필요할 수 있습니다
  • 대규모 아바타 라이브러리에 최적화되지 않음

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

pub package package publisher GitHub code size

Avatar Plus

Avatar Plus is a Flutter wrapper for Multiavatar that allows you to generate and customize unique avatars easily. With up to 12 billion unique avatars possible, this package is perfect for creating profile pictures, gaming logos, or adding personalized touches to your design projects.

Features

  • Generate Unique Avatars: Create avatars based on any text input with just a click or a keyboard shortcut.
  • Customizable: Integrate and customize avatars in your Flutter applications.
  • Randomized Associations: Names and words are randomly assigned to avatars, ensuring each one is unique.
  • Free to Use: Use any generated avatar freely across various applications.

Demo

'Screen 1' 'Screen 3' 'Screen 2'

Sample Code

Here is a basic example demonstrating how to use the avatar_plus package with various customization options:

AvatarPlus("Jonny")            

Installation

Add the following line to your pubspec.yaml file under dependencies:

dependencies:
  avatar_plus: ^1.0.0

Then run:

flutter pub get

Usage

To use Avatar Plus in your Flutter application:

Import the Package
import 'package:avatar_plus/avatar_plus.dart';
Basic Example

Here's a simple example of how to generate an avatar using Avatar Plus:

import 'package:flutter/material.dart';
import 'package:avatar_plus/avatar_plus.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Avatar Plus example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const Example(),
    );
  }
}

class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      bottomNavigationBar: const Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisSize: MainAxisSize.min,
        children: [
          Text(
            "Avatar Plus",
            style: TextStyle(fontSize: 40),
          ),
          Text("Yudiz Solutions Limited © 2024"),
          SizedBox(
            height: 20,
          )
        ],
      ),
      body: Center(
        child: AvatarPlus(
          "jonny",
          height: MediaQuery.of(context).size.width - 20,
          width: MediaQuery.of(context).size.width - 20,
        ),
      ),
    );
  }
}
Additional Usage Examples

You can generate avatars in various formats using Avatar Plus:

1. Get Avatar as a String
String svgCode = AvatarPlusGen.instance.generate("Jonny");
2. Get Avatar String with Transparent Background
String svgCode = AvatarPlusGen.instance.generate("Jonny", trBackground: true);
3. Get Avatar as an SVG Widget
Widget svgWidget = AvatarPlus("Jonny", height: 100, width: 100);
4. Get Avatar SVG Widget with Transparent Background
Widget svgWidget = AvatarPlus("Jonny", trBackground: true, height: 100, width: 100);

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributors

All Contributors

YudizAndroidNaresh
YudizAndroidNaresh

🚇 ⚠️ 💻

Contributions

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository if you would like to contribute to Avatar Plus.

Support

If you encounter any issues or have questions, feel free to open an issue on GitHub.

Visitors Count

Loading

카테고리

의존성

의존성 목록 2 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.