Materialapp in container - Flutter advance course
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Container(
height: 10,
child: Center(
child: Text(
'Material App',
textDirection: TextDirection.ltr,
style: TextStyle(
color: Colors.white,
fontSize: 10,
decoration: TextDecoration.none),
),
),
),
));
}

Comments
Post a Comment