Skip to content

Instantly share code, notes, and snippets.

@rubywai
Created May 1, 2023 14:29
Show Gist options
  • Select an option

  • Save rubywai/28cb047ad08e2dee795d0059be7faea5 to your computer and use it in GitHub Desktop.

Select an option

Save rubywai/28cb047ad08e2dee795d0059be7faea5 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
//Google => Material
//Iphone => Cupertino
//Widget => less ,ful
//debug //release // hybrid
//Container
//project file network memory
//Row Column Stack ListVeiw GridView
//variable List Map Set
// 6 3 3
void main() {
runApp(const MaterialApp(
debugShowCheckedModeBanner: false,
home: FirstApp(),
));
}
class FirstApp extends StatelessWidget {
const FirstApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Column(children: [
Expanded(
flex: 6,
child: Container(
color: Colors.red,
),
),
Expanded(
flex: 3,
child: Container(
color: Colors.blue,
),
),
Flexible(
flex: 3,
child: Container(
color: Colors.green,
),
)
],),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment