Files
gl_dao/lib/pages/auth/role.dart
唐明明 4a635f3570 init
2022-05-26 11:31:11 +08:00

43 lines
1.0 KiB
Dart

import 'package:flutter/material.dart';
import '../store/store.dart';
class RolePages extends StatefulWidget {
const RolePages({Key? key}) : super(key: key);
@override
State<RolePages> createState() => _RolePagesState();
}
class _RolePagesState extends State<RolePages> {
@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('创建角色'),
),
),
);
}
}