增加广告组件,个人中心

This commit is contained in:
唐明明
2022-05-27 17:52:17 +08:00
parent 4a635f3570
commit d64bf95b25
269 changed files with 3960 additions and 309 deletions

View File

@@ -1,5 +1,9 @@
import 'package:flutter/material.dart';
/// widget
import './widget/user_info.dart';
import './widget/user_order.dart';
class UserPages extends StatefulWidget {
const UserPages({Key? key}) : super(key: key);
@@ -11,12 +15,14 @@ class _UserPagesState extends State<UserPages> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('我的'),
shadowColor: Colors.transparent,
),
body: const Center(
child: Text('我的'),
body: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: const <Widget>[
UserInfo(),
UserOrder(),
],
),
),
);
}