I am Rich - Simple Flutter App

I AM RICH APP

To start learning Flutter, Our first challenge is to make an I am Rich app. It's a really very basic and simple app for those who want to start learning flutter from the very beginning. 

main.dart:

   
   import 'package:flutter/material.dart'; 
   
   void main() { 
     runApp(const IamRich()); 
   } 
   
   class IamRich extends StatelessWidget { 
   const IamRich({Key? key}) : super(key: key); 
      
     @override 
     Widget build(BuildContext context) { 
       return MaterialApp( 
         debugShowCheckedModeBanner: false, 
         home: SafeArea( 
           child: Scaffold( 
             backgroundColor: Colors.amber.shade700, 
             appBar: AppBar( 
               backgroundColor: Colors.amber.shade900, 
               title: const Text( 
                 "I am Rich", 
                   style: TextStyle( 
                     fontSize: 26, 
                     fontWeight: FontWeight.bold, 
                 ), 
               ), 
               centerTitle: true, 
             ), 
             body: Center( 
               child: Column( 
                 mainAxisAlignment: MainAxisAlignment.center,
                 crossAxisAlignment: CrossAxisAlignment.center, 
                 children: const [ 
                   Image( 
                     image: AssetImage("images/diamond.png"), 
                     width: 330, 
                   ), 
                 ], 
               ), 
             ), 
           ), 
         ), 
       ); 
     }  
   }


Watch Full Video:

Watch the full tutorial on youtube. Also, like and subscribe to Code With Mubeen for more videos like this.



Download the source code here:   Download Now

Code With Mubeen

I have created this blog to share my knowledge with you about website development and mobile development with Flutter. Here, you will find Tutorials and Source code for Web Application Development Projects and Mobile Application Development Projects.

1 Comments

Previous Post Next Post