Articles → FLUTTER AND DART → Create an application from scratch in flutter

Create an application from scratch in flutter






Steps






import 'package:flutter/material.dart';






class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return MaterialApp(home: Text("Hello"));
  }
}






void main() {
  runApp(MyApp());
}





Click to Enlarge


Complete code


import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return MaterialApp(home: Text("Hello"));
  }
}



Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, July 31, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250