Flutter Pills Button Widget
GetWidget

GetWidget @getwidget

About: www.getwidget.dev is an open-source UI Library for Flutter App Development built on Flutter SDK. Get Start https://docs.getwidget.dev/

Location:
India
Joined:
Dec 17, 2019

Flutter Pills Button Widget

Publish Date: Jan 18 '20
4 0

Have you checked out our GetFlutter Library you can find more details on our GitHub repo: https://github.com/ionicfirebaseapp/getwidget

How to use GetFlutter Pills Button

You will get Flutter Pills Button by adding out component GFButtonShape.pills.

Sample Code:

import 'package:getflutter/components/button/gf_button.dart';

GFButton(
onPressed: (){},
text: "primary",
shape: GFButtonShape.pills,
),

Disabled Button
To do that just disable button onPressed:

Sample Code:

import 'package:getwidget/components/button/gf_button.dart';

GFButton(
onPressed: null,
text: "primary",
shape: GFButtonShape.pills,
),

Block Button

Sample code:

import 'package:getwidget/components/button/gf_button.dart';

GFButton(
onPressed: (){},
text: "primary",
shape: GFButtonShape.pills,
blockButton: true,
),

If you would like read more details of each component and it uses then you can check out our documentation https://docs.getwidget.dev/gf-button/pills-button and share your feedback to us to make a more perfect open-source library for Flutter.

Comments 0 total

    Add comment