MBButton (mb_button)

GitHub issues GitHub forks GitHub license GitHub stars

Table of contents

General info

mb_button is a flutter package. This is a simple version of buttons. This can be easily added to your flutter projects. This make your works simpler and your code shorter. This is recently updated and has null safety too. You can now choose either MBButton with Icon or without Icon. No extra parameters added but the flexibility for developers is increased.

Setup

These are the steps on how to use this package.

Run this command:

$ flutter pub add mb_button

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  mb_button: ^1.0.5 #check for latest in versions at https://pub.dev/packages/mb_button/versions

Alternatively, your editor might support or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mb_button/mb_button.dart';

Conclusion

This is not the last package from this developer. Maybe this solely can't be updated frequently but still it is worth using this package. This helps to reduce your code lines.

Useful Resources

Meet the developer

Mouli Bheemaneti is the developer behind this mb_button package. I'm ambitious and driven towards developing new apps and packages.

Libraries

icon_button
MBElevatedIconButton is called when the isIconButton of MBButton is set to true.
mb_button
Copyright 2021 Author : Mouli Bheemaneti
text_button
MBElevatedButton is called when the isIconButton of MBButton is set to false.