Stateless :- A Stateless widget has no internal state to manage.
For Example :- Icon , IconButtons, Text , etc.
Write Down the Below code in main.dart file.
import 'package:flutter/material.dart'; | |
void main(){ | |
runApp(new MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( | |
title: "My App", | |
home: new Scaffold( | |
appBar: new AppBar( | |
title: new Text("Home Page"),), | |
body: new Center(child: new Text("Hello World"),), | |
), | |
); | |
} | |
} |
With MotoShare.in, you can book a bike instantly, enjoy doorstep delivery, and ride without worries. Perfect for travelers, professionals, and adventure enthusiasts looking for a seamless mobility solution.