Skip to content

Instantly share code, notes, and snippets.

@pedroperegrinaa
Created January 10, 2022 22:40
Show Gist options
  • Save pedroperegrinaa/72053355a7a22044025088fe21f5c00c to your computer and use it in GitHub Desktop.
Save pedroperegrinaa/72053355a7a22044025088fe21f5c00c to your computer and use it in GitHub Desktop.
Container custom
Container(
decoration: BoxDecoration(
color: Color(0xffD99AFD),
borderRadius: BorderRadius.circular(10),
boxShadow: <BoxShadow>[
BoxShadow(
blurRadius: 30,
color: Color(0xffE9C3FF),
offset: Offset(0, 6))
],
),
height: 60,
width: 350,
child: Center(
child: Text(
'Sign In',
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.w700,
color: Colors.white),
),
),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment