import 'package:flutter/material.dart'; class UserPages extends StatefulWidget { const UserPages({Key? key}) : super(key: key); @override State createState() => _UserPagesState(); } class _UserPagesState extends State { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('我的'), shadowColor: Colors.transparent, ), body: const Center( child: Text('我的'), ), ); } }