Skip to content

Create an awesome About Page for your Flutter App in 2 minutes

License

Notifications You must be signed in to change notification settings

npsulav/flutter_about_page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_about_page

Create an awesome About Page for your Flutter App in 2 minutes
This package is highly inspired from android_about_page

Flutter About Page Cover

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("[email protected]")
    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("[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")
    
          ],
        )
      );
    }
    }
  • About

    Create an awesome About Page for your Flutter App in 2 minutes

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Contributors 3

    •  
    •  
    •  

    Languages