bui_component 0.0.66 copy "bui_component: ^0.0.66" to clipboard
bui_component: ^0.0.66 copied to clipboard

outdated

Flutter base component. Which is include all the basic screen and the details. If the user import the package they will use all the basic needs.

Use CRM for Flutter apps. #

🔥 Star and Share 🔥 the repo to support the project. Thanks! #

A flutter plugin to use CRM Component for flutter Apps.

Instalation #

  • Add this to your package's pubspec.yaml file:
dependencies:
  bui_component: "^0.0.65"
  • You can install packages from the command line: with Flutter:
$ flutter packages get

DashBoardScreen #

new HomeScreenComponent(
            onMenuPressed: onMenuPressed,
            backgroundColor: theme,
            onPopUpMenuFunction: onPopUpMenuPressed,
            popUpMenu: popUpMenu,
            showFilterView: false,
            onFilterClicked: () {
              Navigator.of(context).push(MaterialPageRoute(
                builder: (context) {
                  return FilterScreen(
                    primaryColor: theme,
                    secondaryColor: secondaryBackgroundColor,
                  );
                },
              ));
            },
            child: isLoader
                ? Stack(
                    children: [
                      Loader(
                        loaderColor: theme,
                      ),
                    ],
                  )
                : Stack(
                    children: [
                      showGridView, // Change grid to card you can use this function to refer the dashboard screen
                      apiCallView, // show you are API data
                    ],
                  ),
          ),

Attribute #

  • onMenuPressed (Type Function) call the function every time a change the screen
  • backgroundColor (Type Color) Your App Primary color to change the app bar color and primary color in that screen
  • popUpMenu (Type List
  • onPopUpMenuFunction (Type Function) call the function every time to change the popup menu option
  • showFilterView(Type bool) To change bool for show filter icon of required
  • onFilterClicked(Type Function) This function helps to navigate the filter view if showFilterView is true we can access this function
  • child(Type Widget) Which can help the customize screen design.

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

1
likes
0
pub points
0%
popularity

Publisher

verified publisheraagnia.com

Flutter base component. Which is include all the basic screen and the details. If the user import the package they will use all the basic needs.

Repository (GitLab)
View/report issues

License

unknown (LICENSE)

Dependencies

country_code_picker, cyclop, flutter, flutter_rating_bar, flutter_svg, meta, shared_preferences

More

Packages that depend on bui_component