DGHub Studio

Buy Me a Coffee

Buy Me A Coffee

Pub

What is

This package provides a customizable Appbars for flutter projects

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
  dghub_appbar: <latest_version>

Import package

import 'package:dghub_appbar/dghub_appbar.dart';

Example home appbar


         DGHubAppBar(
                items: [

                  DGHubAppBarIcon(
                      enabledBadage: true,
                      badageLabel: '0',
                      badageColor: Colors.blue,
                      icon: Icons.notifications_none,
                      onTap: () {})
                ],
                type: DGHubAppBarType.playstore);

Example back appbar

     DGHubBackAppBar(
                items: [
                  DGHubAppBarIcon(icon: Icons.search, onTap: () {})
                  ]);

Example search appbar


            DGHubSearchAppBar(
                searchResult: (result) {},
                items: [
                  DGHubAppBarIcon(icon: Icons.mic_none, onTap: () {})
                  ]);

Get all appbar

DGHubAppBarListWidget(result: (selected) {})
  • Package created by Min Thant Htet

Libraries

dghub_appbar