增加广告组件,个人中心
This commit is contained in:
@@ -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(),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user