/* * @Author: Aimee~ * @Date: 2022-05-26 13:16:03 * @LastEditTime: 2022-05-31 13:59:17 * @LastEditors: Aimee * @FilePath: /gl_dao/lib/pages/auth/role.dart * @Description: */ import 'package:flutter/material.dart'; import '../store/index/index_page.dart'; class RolePages extends StatefulWidget { const RolePages({Key? key}) : super(key: key); @override State createState() => _RolePagesState(); } class _RolePagesState extends State { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('创建角色'), shadowColor: Colors.transparent, backgroundColor: Colors.white, leading: const BackButton( color: Colors.black, ), titleTextStyle: const TextStyle( color: Colors.black, fontSize: 16.0, ), ), body: Center( child: ElevatedButton( onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (context) { return const StorePages(); }), ); }, child: const Text('创建角色'), ), ), ); } }