first commit
This commit is contained in:
44
滴滴淘/ddt_flutter/lib/view/page/about.dart
Executable file
44
滴滴淘/ddt_flutter/lib/view/page/about.dart
Executable file
@@ -0,0 +1,44 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_app/R.dart';
|
||||
class About extends StatelessWidget {
|
||||
|
||||
// final title;
|
||||
// About({ this.title });
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
elevation: 0.0,
|
||||
title: Text("我的"),
|
||||
),
|
||||
body: new Container(
|
||||
color: Colors.orange,
|
||||
height: 250.0,
|
||||
alignment: Alignment.bottomCenter,
|
||||
child: new Column(
|
||||
verticalDirection: VerticalDirection.down,
|
||||
children: <Widget>[
|
||||
new Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
new Image.asset(
|
||||
R.libStaticImgLogoPng,
|
||||
width: 80.0,
|
||||
height: 80.0,
|
||||
fit: BoxFit.cover,
|
||||
)
|
||||
],
|
||||
),
|
||||
new Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
new Text("我的")
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user