Stateless Widget in Flutter


Here is the simple program for printing the stateless widget in Flutter.


Source Code

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Text('Tutor Joes'),
    );
  }
}
To download raw file Click Here