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
Tags:
Android App
code with Mubeen
flutter
Flutter Course
Flutter For Beginners
Flutter Tutorials
Flutter UI
I am rich app
Mobile Application Development
Project
UI Design
Web Application Development
Thanks for sharing
ReplyDelete