Skip to content

Instantly share code, notes, and snippets.

@sagarshende23
Last active December 4, 2019 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagarshende23/d71cfe472efc9c6dccf5904e5ffae44c to your computer and use it in GitHub Desktop.
Save sagarshende23/d71cfe472efc9c6dccf5904e5ffae44c to your computer and use it in GitHub Desktop.
Widget get _animatedButtonUI => Container(
height: 70,
width: 200,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(100.0),
boxShadow: [
BoxShadow(
color: Color(0x80000000),
blurRadius: 30.0,
offset: Offset(0.0, 5.0),
),
],
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: [
Color(0xFF0000FF),
Color(0xFFFF3500),
],
)),
child: Center(
child: Text(
'tap',
style: TextStyle(
fontSize: 30.0,
fontWeight: FontWeight.bold,
color: Colors.white),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment