Created
November 14, 2024 07:33
-
-
Save rayliverified/bf77a974e99171fb47f5c21a85655b9c 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: Frame2(), | |
), | |
); | |
} | |
} | |
class Frame2 extends StatelessWidget { | |
const Frame2({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
width: 636, | |
height: 100, | |
padding: const EdgeInsets.only(right: 4), | |
clipBehavior: Clip.hardEdge, | |
decoration: const BoxDecoration( | |
color: Color(0xFFCBCBCB), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment