twinkle_button 0.0.1 copy "twinkle_button: ^0.0.1" to clipboard
twinkle_button: ^0.0.1 copied to clipboard

outdated

A button plug-in that can flash.

Twinkle Button #

A button plug-in that can flash.

Installation #

Add dependency to pubspec.yaml

dependencies:
  ...
  twinkle_button: ^lastest_version

Run in your terminal

flutter packages get

How to use #

import 'package:twinkle_button/twinkle_button.dart';
TwinkleButton(
  buttonTitle: Text(
    'Subscribe with Free Trial',
    style: TextStyle(
      color: Colors.white,
          fontWeight: FontWeight.w300,
          fontSize: 17.0,
        ),
    ),
    buttonColor: Color(0xff3dce89),
    onclickButtonFunction: () {
      print('hello');
    }
);

Attribute #

Parameter Default Description
buttonTitle null Change this value if you what to put pagination in other placeThe text on the button, cannot be omitted.
buttonColor null Button background color, cannot be omitted.
buttonHeight 50.0 Height of button.
buttonWidth 200.0 Width of button.
durationTime 3 Button blink interval.
twinkleTime 300 Blink time.
onclickButtonFunction null Events executed by clicking the button, cannot be omitted.
18
likes
0
pub points
56%
popularity

Publisher

unverified uploader

A button plug-in that can flash.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on twinkle_button