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";

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");

Usage

  1. Set Image
ab.setImage("assets/logo.png")
  1. Set Description dart ab.setDescription("lorem ipsum")

  2. 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")
    
    1. Add Email
    ab.addEmail("lackminds20@gmail.com")
    
    1. Add Website
    ab.addWebsite("http://www.facebook.com")
    
    1. Add custom Widget
          ab.addWidget(
                Text(
                  "Version 1.2",
                  style: TextStyle(
                      fontFamily: "RobotoMedium"
                  ),
                ),
              )
    
    1. Add Custom List Item
      ab.addItemWidget(Icon(Icons.add), "Title")
    
    1. 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("lackminds20@gmail.com"),
              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")
    
            ],
          )
        );
      }
    }
    
  • Libraries

    about-page
    flutter_about_page