44 lines
1.1 KiB
Dart
Executable File
44 lines
1.1 KiB
Dart
Executable File
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("我的")
|
|
],
|
|
)
|
|
],
|
|
),
|
|
)
|
|
);
|
|
}
|
|
} |