Skip to content

Instantly share code, notes, and snippets.

@rayliverified
Created September 21, 2024 09:08
Show Gist options
  • Save rayliverified/94a34cf209f96928f73d45dfcfd2fdf6 to your computer and use it in GitHub Desktop.
Save rayliverified/94a34cf209f96928f73d45dfcfd2fdf6 to your computer and use it in GitHub Desktop.
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