game_play_button 0.0.2
game_play_button: ^0.0.2 copied to clipboard
Flutter game button
Game Button is an modern and unique button widget. You can use it in your project according to you need
[Game Button]
How to use? #
Add game_button: to your pubspec.yaml dependencies then run flutter pub get
Add from pub [Stable]
dependencies:
game_button:
Then import the package to use #
import 'package:game_button/game_button.dart';
Usage #
GameButton(
title: 'Play Offline',
backColor: Colors.deepPurple,
gradientColors: [
Colors.purple,
Colors.purpleAccent
],
// textColor: Colors.blue,
// textStokeColor: Colors.white,
// textStokeWidth: 3,
// fontWeight: FontWeight.w100,
// stokeColor: Colors.black,
// stokeWidth: 3,
// more optional property you can use to customize the widget according to you need.
)