mypackage(TEST)

A new Flutter package for both android and iOS which helps developers in creating Title in CircleAvatar when you are not have network of their app.

Show some ❤️ and star the repo to support the project

Getting Started

To use this package :

  dependencies:
    flutter:
      sdk: flutter
    mypackage: ^0.0.5

Screenshots

Installation

mypackage: ^0.0.5

Usage

How to use

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

void main() {
  runApp(Example());
}

class Example extends StatefulWidget {
  ExampleState createState() => ExampleState();
}

class ExampleState extends State<Example> {
  @override
  Widget build(BuildContext context) {
    
    return new MaterialApp(
        title: "Example",
        home: new Scaffold(
          appBar: AppBar(title: Text("Example"), centerTitle: true),
          body: new ListView.builder(
              itemBuilder: (BuildContext context, int index) {
            return new Center( child: new CustomCircleAvatar(
                    myImage: NetworkImage(
                        "https://images.pexels.com/photos/220453/pexels-photo-220453.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260"),
                    text: new Text("Person")));
          }),
        ));
  }
}

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

Libraries

custom_avatar
example
mypackage