Skip to content

Instantly share code, notes, and snippets.

@Arpit723
Created July 23, 2025 14:23
Show Gist options
  • Select an option

  • Save Arpit723/13eb15d0b272ff0d6e72c48c474c66bb to your computer and use it in GitHub Desktop.

Select an option

Save Arpit723/13eb15d0b272ff0d6e72c48c474c66bb to your computer and use it in GitHub Desktop.

Revisions

  1. Arpit723 created this gist Jul 23, 2025.
    56 changes: 56 additions & 0 deletions main.dart
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,56 @@
    import 'dart:ffi';

    import 'package:flutter/material.dart';

    void main() {
    runApp(MyApp());
    }

    class MyApp extends StatelessWidget {
    const MyApp({super.key});

    @override
    Widget build(BuildContext context) {
    return MaterialApp(
    home: Scaffold(
    backgroundColor: Colors.teal,
    body: SafeArea(
    child: Row(
    mainAxisAlignment: MainAxisAlignment.spaceBetween,
    children: [
    Container(
    child: Text("1"),
    color: Colors.red,
    width: 100.0,
    height: double.infinity,
    ),
    Container(
    child: Column(children: [ Container(
    child: Text("3"),
    color: Colors.yellow,
    width: 100.0,
    height: 100.0,
    ), Container(
    child: Text("4"),
    color: Colors.green,
    width: 100.0,
    height: 100.0,
    )],),
    color: Colors.blue,
    height: 200.0,
    width: 100.0,
    ),
    Container(
    child: Text("3"),
    color: Colors.blue,
    width: 100.0,
    height: double.infinity,
    )
    ],
    ),
    ),
    ),
    );
    }
    }