dibaloke
12/29/2018 - 7:12 AM

Base flutter code

Most basic flutter Code, Shows how to create a simple container widget

import 'package:flutter/material.dart';
//Import package called material 

//Entry point Is the main function
void main(){
//runApp takes any widget as its argument 
//Here its take the Container widget as its argument
runApp(
  Container(
    color:Colors.yellowAccent,
    ),
    );
}