Articles → FLUTTER AND DART → Scaffold widget in flutter

Scaffold widget in flutter






Purpose





Example










import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget
{
  Widget build(BuildContext context) {
    return MaterialApp(home:Scaffold(
      appBar: AppBar(title: Text("my app bar")),
    body: Text("Hello"),
    )
    );
  }
}



Output



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, August 19, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250