Skip to content

Instantly share code, notes, and snippets.

@NurettinSelim
Last active November 9, 2020 11:26
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 NurettinSelim/6b2c5d0fdcae7e0f702c70d037ebf33d to your computer and use it in GitHub Desktop.
Save NurettinSelim/6b2c5d0fdcae7e0f702c70d037ebf33d to your computer and use it in GitHub Desktop.
Card(
margin: EdgeInsets.all(8),
shape: _border,
clipBehavior: Clip.antiAliasWithSaveLayer,
child: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [color[100], color[300]]),
),
child: Material(
color: Colors.transparent,
child: InkWell(
customBorder: _border,
onTap: () {},
splashColor: color[400],
highlightColor: color[200],
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
Icon(Icons.lightbulb_outline_rounded, size: 80, color: color),
Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Text(title),
Text(name),
],
)
],
),
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment