Skip to content

Instantly share code, notes, and snippets.

@JonathanMonga
Last active January 29, 2020 22:17
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 JonathanMonga/ff28dc051a95ab731b5e2f3532fbf218 to your computer and use it in GitHub Desktop.
Save JonathanMonga/ff28dc051a95ab731b5e2f3532fbf218 to your computer and use it in GitHub Desktop.
Column _buildLeadingColumn(BuildContext context) {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Container(
height: 40,
width: 40,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Theme.of(context).primaryColor,
boxShadow: [
BoxShadow(
offset: Offset(3, 3),
color: Colors.black12,
blurRadius: 5,
),
BoxShadow(
offset: Offset(-3, -3),
color: Colors.white,
blurRadius: 5,
)
],
),
child: Icon(
Icons.arrow_back_ios,
size: 14,
),
),
],
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment