loading...
Cover image for GetFlutter Pills Button Widget

GetFlutter Pills Button Widget

getwidget profile image GetWidget Updated on ・1 min read

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

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 diable button onPressed:

Sample Code:

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

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

Block Button

Sample code:

import 'package:getflutter/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.getflutter.dev/gf-button/pills-button and share your feedback to us to make a more perfect open-source library for Flutter.

Posted on by:

getwidget profile

GetWidget

@getwidget

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

Discussion

markdown guide