import
'package:flutter/material.dart'
;
void
main() {
runApp(MaterialApp(
home: Scaffold(
appBar: AppBar(
backgroundColor: Color.fromRGBO(15, 157, 88, 1),
title: Text(
"GeeksForGeeks"
,
style: TextStyle(
color: Colors.white,
),
),
),
body: MyApp(),
),
));
}
class
MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return
Center(
child: Container(
margin:
const
EdgeInsets.all(15.0),
padding:
const
EdgeInsets.all(3.0),
decoration: BoxDecoration(
border: Border.all(
color: Colors.blueAccent,
width: 5.0,
),
),
child: Expanded(
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Text(
"GeeksForGeeks is a good platform to learn programming."
" It is an educational website."
,
style: TextStyle(
color: Colors.green,
fontWeight: FontWeight.bold,
fontSize: 20.0,
letterSpacing: 3,
wordSpacing: 3,
),
),
),
),
),
);
}
}