Created
September 21, 2024 09:08
-
-
Save rayliverified/94a34cf209f96928f73d45dfcfd2fdf6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return const MaterialApp( | |
title: 'MyApp Demo', | |
debugShowCheckedModeBanner: false, | |
home: Scaffold( | |
body: Frame1(), | |
), | |
); | |
} | |
} | |
class Frame1 extends StatelessWidget { | |
const Frame1({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
width: 222, | |
height: 256, | |
clipBehavior: Clip.hardEdge, | |
decoration: const BoxDecoration( | |
color: Color(0xFFD1D1D1), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment