Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (32 sloc) 726 Bytes
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Postbird Flutter')
),
body: HomeContent(),
),
// theme: ThemeData.dark(),
theme: ThemeData(
primaryColor: Colors.yellow
)
);
}
}
class HomeContent extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Center(
child: Text(
'Postbird 自定义 Widget!',
textDirection: TextDirection.ltr,
style: TextStyle(fontSize: 40, color: Colors.blue),
));
}
}
You can’t perform that action at this time.