Designing the mobile app to implement the theming and styling

 

 import 'package:flutter/material.dart';

 void main() {

 runApp(MaterialApp(

 home: MyApp(),

)) ;

} 

 class MyApp extends StatelessWidget {

 const MyApp({Key? key}) : super(key: key);

 @override

 Widget build(BuildContext context) {  return Scaffold(

 appBar: AppBar(

 title: Text("Theming And Styling"),

 ),

 body: Center(

 child: Column(

 mainAxisAlignment: MainAxisAlignment.spaceEvenly,  children: [

 Image.network(

 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRY2N49iCud8Pq84Asp4tK2tBeq  dSFAUcCJPg&s',  height: 500,  width: 500,

 ),

 ],

 ),

 ),

 );

 }

 }

Comments

Popular posts from this blog

Designing the mobile app to implement different widgets

Designing the mobile app to implement the state management.