Thursday, March 28, 2019

First and Basic Flutter app




// I need to import a helper library// from flutter to get content on screen
import 'package:flutter/material.dart';

// Define 'main' function to run when our app starts
void main(){
  
  var app = MaterialApp(
    // Create new text widget to show some text    // on the screen    home: Text('Hi, There!'),
    
  );

//  Take that widget and get it on the screen  runApp(app);

}

No comments:

Post a Comment