Box Decoration Make containers look awesome

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.
Get Unlimited PRO Access


*Enrollment provides full access to this course (and updates) for life.

Example Code

file_type_dartlang main.dart
class MyApp extends StatelessWidget {
 Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: Center(
         child: Container(
           decoration: BoxDecoration(
             border: Border.all(width: 5),
             boxShadow: [
               BoxShadow(offset: Offset(40, 40), color:,
               BoxShadow(offset: Offset(20, 20), color: Colors.yellow),
             gradient: RadialGradient(colors: [Colors.yellow,])

Q&A Chat