pparth602

Untitled

Aug 21st, 2020
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.68 KB | None | 0 0
  1. Main.dart
  2. class MyApp extends StatelessWidget {
  3.   // This widget is the root of your application.
  4.   @override
  5.   Widget build(BuildContext context) {
  6.     return MaterialApp(
  7.       title: 'App',
  8.       debugShowCheckedModeBanner: false,
  9.       theme: ThemeData(),
  10.       home: CustomeTile(),
  11.     );
  12.   }
  13. }
  14. class CustomeTile extends StatelessWidget {
  15.   @override
  16.   Widget build(BuildContext context) {
  17.     return Container(
  18.       height: 90,
  19.       width: 352,
  20.       color: Colors.red,
  21.       child: Row(
  22.         children: [
  23.           Container(
  24.             height: 70,
  25.             width: 70,
  26.             color: Colors.grey[200],
  27.           ),
  28.         ],
  29.       ),
  30.     );
  31.   }
  32. }
  33.  
Advertisement
Add Comment
Please, Sign In to add comment