Padding with custom side
Mon Apr 29 2024 06:22:02 GMT+0000 (Coordinated Universal Time)
Saved by
@salauddin01
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.cyan[100],
appBar: AppBar(
title: const Text("Flutter margin padding"),
backgroundColor: Colors.blueAccent,
), //appbar
body: Padding(
padding: const EdgeInsets.only(top: 32,left: 30,right:0,bottom: 0),
child: Text('Hello Students'),
)
); //scaffold
}
content_copyCOPY
Comments