Flutter ist ein Open-Source Entwicklungskit von Google. Es basiert auf der Programmiersprache Dart. Nachfolgend werden die wichtigsten Themen dargestellt.
|
Test
|
Test 2
|
import 'package:flutter/material.dart';
void main() => runApp(HelloWorldApp());
class HelloWorldApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Hello World App',
home: Scaffold(
appBar:AppBar(
title: Text('Hello World App'), ),
body:Center(
child: Text('Hello World'),
),
),
);
} }
|
Top Right
|
|
|
Center( child: Container( height: 120.0, width: 120.0, color: Colors.blue[50], child: Align( alignment: Alignment.topRight, child: FlutterLogo( size: 60, ), ), ), )
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.