flutter_about_page

Last updated:

0 purchases

flutter_about_page Image
flutter_about_page Images
Add to Cart

Description:

flutter about page

flutter_about_page #
Create an awesome About Page for your Flutter App in 2 minutes
This package is highly inspired from android_about_page
Setup #
Import the flutter_about_page package.
import "package:flutter_about_page/flutter_about_page.dart";
copied to clipboard
And Initialize the AboutPage object.
AboutPage ab = AboutPage();
// You can also set Custom Font Family for description and list items
ab.customStyle(descFontFamily: "Roboto",listTextFontFamily: "RobotoMedium");
copied to clipboard
Usage #

Set Image

ab.setImage("assets/logo.png")
copied to clipboard


Set Description
dart ab.setDescription("lorem ipsum")


Add predefined Social network
The library has already some predefined social networks like :


Facebook
Twitter
Instagram
Youtube
PlayStore
ab.addFacebook("sulav.parajuli.90"),
ab.addTwitter("sulav"),
ab.addYoutube("UCeVMnSShP_Iviwkknt83cww"),
ab.addPlayStore("com.tripline.radioapp"),
ab.addInstagram("sulav")
copied to clipboard

Add Email

ab.addEmail("[email protected]")
copied to clipboard

Add Website

ab.addWebsite("http://www.facebook.com")
copied to clipboard

Add custom Widget

ab.addWidget(
Text(
"Version 1.2",
style: TextStyle(
fontFamily: "RobotoMedium"
),
),
)
copied to clipboard

Add Custom List Item

ab.addItemWidget(Icon(Icons.add), "Title")
copied to clipboard

Complete Example


class Example extends StatelessWidget {
@override
Widget build(BuildContext context) {

AboutPage ab = AboutPage();
ab.customStyle(descFontFamily: "Roboto",listTextFontFamily: "RobotoMedium");

return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
title: Text("About Page"),
centerTitle: true,
),
body: ListView(

children: [

ab.setImage("assets/logo.png"),
ab.addDescription(" Nullam elit magna, blandit vitae feugiat vel, "),
ab.addWidget(
Text(
"Version 1.2",
style: TextStyle(
fontFamily: "RobotoMedium"
),
),
),
ab.addGroup("Connect with us"),
ab.addEmail("[email protected]"),
ab.addFacebook("sulav.parajuli.90"),
ab.addTwitter("sulav"),
ab.addYoutube("UCeVMnSShP_Iviwkknt83cww"),
ab.addPlayStore("com.tripline.radioapp"),
ab.addGithub("npsulav"),
ab.addInstagram("sulav"),
ab.addWebsite("http://www.facebook.com"),
ab.addItemWidget(Icon(Icons.add), "title")

],
)
);
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.