material_button_assist is an assistant that makes using Common buttons easier.
Getting started
material_button_assist is implemented using custom_lint. As such, it uses custom_lint's installation logic.
Long story short:
-
Add both material_button_assist and custom_lint to your
pubspec.yaml
:dev_dependencies: custom_lint: material_button_assist:
-
Enable
custom_lint
's plugin in youranalysis_options.yaml
:analyzer: plugins: - custom_lint
Features
Convert to other button
You can easily convert between five different buttons.
- Elevated button
- Filled button
- Filled tonal button
- Outlined button
- Text button
Add icon
Add icons to the buttons and automatically update the field names as well.
Remove icon
Remove icons from the buttons and automatically update the field names as well.