Skip to content

Instantly share code, notes, and snippets.

@saifullahkhancs
Created April 26, 2023 06:45
Show Gist options
  • Save saifullahkhancs/8bb527c0855d5971f564aa8af9dcf7af to your computer and use it in GitHub Desktop.
Save saifullahkhancs/8bb527c0855d5971f564aa8af9dcf7af to your computer and use it in GitHub Desktop.
delicate-vibration-1840

delicate-vibration-1840

Created with <3 with dartpad.dev.

import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build (BuildContext context) {
return MaterialApp(
home:Scaffold(
appBar: AppBar (
title: Text('Container Widget Example'),
),
body : Container(
padding:EdgeInsets.all(16),
margin : EdgeInsets.all(16),
decoration: BoxDecoration(
border: Border.all(
color:Colors.blue,
width:2,
),
),
child: Text (
'Hello World!',
style: TextStyle(fontSize: 24),
),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment