Commit 3b5ba7b4 authored by 张宏's avatar 张宏

.

parent d2ca6b18
...@@ -15,6 +15,7 @@ migrate_working_dir/ ...@@ -15,6 +15,7 @@ migrate_working_dir/
*.ipr *.ipr
*.iws *.iws
.idea/ .idea/
.trae/
# The .vscode folder contains launch configuration and tasks you configure in # The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line # VS Code which you may wish to be included in version control, so this line
......
...@@ -20,8 +20,13 @@ class BtnLogin extends StatelessWidget { ...@@ -20,8 +20,13 @@ class BtnLogin extends StatelessWidget {
color: Color.fromRGBO(89, 109, 243, 1), color: Color.fromRGBO(89, 109, 243, 1),
borderRadius: BorderRadius.circular(20), borderRadius: BorderRadius.circular(20),
), ),
child: TextButton( child: ElevatedButton(
onPressed: isLoading ? null : onPressed, onPressed: isLoading ? null : onPressed,
style: ElevatedButton.styleFrom(
backgroundColor: Colors.transparent,
shadowColor: Colors.transparent,
elevation: 0,
),
child: isLoading child: isLoading
? const SizedBox( ? const SizedBox(
width: 20, width: 20,
......
import 'package:auto_route/auto_route.dart'; import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
@RoutePage() @RoutePage()
class SearchView extends StatefulWidget { class SearchView extends StatefulWidget {
...@@ -17,9 +17,16 @@ class _SearchViewState extends State<SearchView> { ...@@ -17,9 +17,16 @@ class _SearchViewState extends State<SearchView> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
margin: EdgeInsets.only(top: 200.h), margin: EdgeInsets.only(top: 200.h),
child: Center(child: child: Column(
Text("data") children: [
ElevatedButton(
onPressed: () {
},
child: Text("点击"),
),
],
), ),
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment