mypackage 0.0.5 mypackage: ^0.0.5 copied to clipboard
Material Design .
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 :
- add the dependency to your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
mypackage: ^0.0.5
Screenshots #
Installation #
mypackage: ^0.0.5
Usage #
- Show Example
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.