|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import 'package:flutter/cupertino.dart';
- import 'package:flutter/material.dart';
-
- /*提现页面*/
- class WithdrawPage extends StatefulWidget {
- @override
- _WithdrawPageState createState() => _WithdrawPageState();
- }
-
- class _WithdrawPageState extends State<WithdrawPage> {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: _createNav(),
- body: SafeArea(
- child: _WithdrawContainer(),
- ),
- );
- }
-
- // 导航栏
- Widget _createNav() {
- return CupertinoNavigationBar(
- leading: Navigator.canPop(context)
- ? GestureDetector(
- child: Container(
- padding: EdgeInsets.zero,
- child: Icon(
- Icons.arrow_back_ios,
- size: 20,
- ),
- ),
- onTap: () {
- if (Navigator.canPop(context)) {
- Navigator.pop(context);
- }
- },
- )
- : Container(),
- middle: Text(
- '提现',
- style: TextStyle(
- fontSize: 15,
- color: Color(0xff333333),
- ),
- ),
- trailing: GestureDetector(
- child: Text(
- '明细',
- style: TextStyle(fontSize: 13, color: Color(0xff333333)),
- ),
- onTap: () {},
- ),
- );
- }
- }
-
- class _WithdrawContainer extends StatefulWidget {
- @override
- _WithdrawContainerState createState() => _WithdrawContainerState();
- }
-
- class _WithdrawContainerState extends State<_WithdrawContainer> {
- @override
- Widget build(BuildContext context) {
- return SingleChildScrollView(
- child: Column(
- children: <Widget>[],
- ),
- );
- }
- }
|