Skip to content

Instantly share code, notes, and snippets.

@CoderJava
Created May 7, 2020 15:46
Show Gist options
  • Select an option

  • Save CoderJava/2e16a3506794182dad15b14140cf2980 to your computer and use it in GitHub Desktop.

Select an option

Save CoderJava/2e16a3506794182dad15b14140cf2980 to your computer and use it in GitHub Desktop.
Widget Column
import 'package:flutter/material.dart';
void main() => runApp(App());
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: HomePage(),
);
}
}
class HomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Flutter Demo'),
),
body: Container(
width: 200.0,
color: Colors.blue,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.end,
children: <Widget>[
Text('Baris 1'),
Text('Baris 2'),
Text('Baris 3'),
Text('Baris 4'),
],
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment