पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

super_profile_picture कवर
पैकेज विवरणv1.0.0

super_profile_picture

एक कस्टमाइज़ेबल फ्लटर विजेट जो प्रोफ़ाइल छवियों को दिखाता है, छवि और पाठ विकल्प दोनों का समर्थन करता है।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
33
लाइक
11
Pub अंक
150

पैकेज इंस्टॉल करें

flutter pub add super_profile_picture

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

सुपर प्रोफ़ाइल छवि एक कस्टमाइज़ेबल फ्लटर विजेट है जिसका उपयोग छवियों और टेक्स्ट अवतार दोनों के साथ प्रोफ़ाइल छवियों को दिखाने के लिए किया जाता है। यह लचीले स्टाइलिंग, आकार विकल्प और छवि उपलब्ध न होने पर डायनामिक फॉलबैक के साथ आता है। सोशल ऐप्स, चैट प्लेटफॉर्म या डैशबोर्ड में उपयोगकर्ता इंटरफेस के लिए उपयुक्त, यह उपकरण उपकरणों के बीच स्थिर दृश्य प्रस्तुति सुनिश्चित करता है। विजेट फ्लटर प्रोजेक्ट में आसानी से एकीकृत होता है और सभी प्रमुख प्लेटफॉर्म जैसे Android, iOS, Web, macOS, Windows और Linux को सपोर्ट करता है।

उपयोग

  • उपयोगकर्ता प्रोफ़ाइल प्रदर्शित करता है
  • चैट इंटरफेस
  • डैशबोर्ड विजेट्स
  • सोशल मीडिया ऐप्स
  • टीम सदस्य सूची

मुख्य विशेषताएँ

  • छवि और पाठ अवतार समर्थन
  • कस्टमाइज़ किए गए आकार और आयाम
  • गायब छवियों के लिए फॉलबैक पाठ
  • प्लेटफॉर्म-अनुकूल डिज़ाइन
  • Flutter के साथ आसान एकीकरण
  • प्रतिक्रियाशील लेआउट संभालना

इनके लिए उपयुक्त

  • सोशल ऐप बनाने वाले डेवलपर्स
  • स्थिर अवतार की आवश्यकता वाले UI डिजाइनर
  • क्रॉस-प्लेटफॉर्म संगतता की आवश्यकता वाले प्रोजेक्ट
  • उपयोगकर्ता प्रोफ़ाइल या संदेश सुविधा वाले ऐप्स
  • पुन: उपयोगी अवतार घटक चाहने वाली टीमें

विचार योग्य बातें

  • दूरस्थ URL के लिए छवि लोडिंग सेटअप की आवश्यकता है
  • मूल एवेटार कार्यक्षमता तक सीमित
  • नामों से निर्मित एवतार उत्पन्न करने का कोई निर्मित फ़ंक्शन नहीं है
  • जटिल यूआई के लिए अतिरिक्त स्टाइलिंग की आवश्यकता हो सकती है
  • बाहरी छवि लोडिंग प per लाइब्रेरी पर निर्भर करता है

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

logo

License: MIT pub package GitHub popularity version

A customizable Flutter widget for displaying profile pictures, supporting both image and text options. It will show label text in case the image is not provided or fails to load. You can use any image provider, such as NetworkImage, AssetImage, and more, to display the image.

Live Demo & Experiment Page

Live demo: Demo & Experiment site

Installation

i. Add the latest version of this package to your pubspec.yaml file, and run: 'dart pub get':

dependancies:
  super_profile_picture: ^1.0.0

ii. Import the package in your Flutter App and use it.

import 'package:super_profile_picture/super_profile_picture.dart';

Note

The background color will be set according to the first letter of the label. Customization of the background color is not currently supported but may be added in the future.

Code Sample

Default

Screenshot_161 Screenshot_160

SuperProfilePicture(
    label: "Super Profile Picture",
    radius: 30,
);
SuperProfilePicture(
    label: "Super Profile Picture",
    radius: 30,
    image: NetworkImage("https://picsum.photos/200/300.jpg"),

);
Max Label Length

Screenshot_162


SuperProfilePicture(
    label: "Super Profile Picture",
    radius: 30,
    textDecorationProperties: TextDecorationProperties(
         maxLabelLength: 3,  
    ),
);
Empty Name / Blank

Screenshot_163

SuperProfilePicture(
    label: "",
    radius: 30,
);
With Border

Screenshot_164 Screenshot_165

SuperProfilePicture(
    label: "Super Profile Picture",
    radius: 30,
    border: Border.all(width: 6, color: Colors.blue),
);
SuperProfilePicture(
    label: "Super Profile Picture",
    radius: 30,
    image: NetworkImage("https://picsum.photos/200/300.jpg"),
    border: Border.all(width: 6, color: Colors.blue),

);

Properties

  • label
  • radius
  • textDecorationProperties
    • fontSize;
    • maxLabelLength;
    • useFittedBox;
    • fontColor;
    • fontWeight;
    • letterSpacing;
    • padding;
    • fontStyle;
  • imageDecorationProperties
    • frameBuilder;
    • loadingBuilder;
    • errorBuilder;
    • semanticLabel;
    • excludeFromSemantics;
    • width;
    • height;
    • color;
    • opacity;
    • colorBlendMode;
    • fit;
    • alignment;
    • repeat;
    • centerSlice;
    • matchTextDirection;
    • gaplessPlayback;
    • isAntiAlias;
    • filterQuality;
  • border
  • borderRadius
  • image
  • clipBehavior

Future Tasks

  • Add customizable background color function.

श्रेणियाँ

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।