index.dart 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import 'package:flutter/material.dart';
  2. import 'package:flutter_screenutil/flutter_screenutil.dart';
  3. import 'package:fluttertoast/fluttertoast.dart';
  4. import 'package:get/get.dart';
  5. class UserInfo extends StatefulWidget {
  6. const UserInfo({Key? key}) : super(key: key);
  7. @override
  8. _UserInfo createState() => _UserInfo();
  9. }
  10. class _UserInfo extends State<UserInfo> {
  11. @override
  12. Widget build(BuildContext context) {
  13. return Scaffold(
  14. appBar: AppBar(
  15. elevation: 0,
  16. centerTitle: true,
  17. backgroundColor: Colors.white,
  18. title: Text(
  19. '个人信息',
  20. style: TextStyle(
  21. color: Colors.black,
  22. fontSize: 17.sp,
  23. letterSpacing: 2,
  24. fontWeight: FontWeight.bold),
  25. ),
  26. ),
  27. body: Container(
  28. padding: EdgeInsets.all(15.w),
  29. child: Column(
  30. children: [
  31. Container(
  32. height: 92.h,
  33. decoration: BoxDecoration(
  34. color: const Color(0xFFFFFFFF),
  35. boxShadow: [
  36. BoxShadow(
  37. color: const Color(0x1F000000),
  38. offset: Offset(0, 1.w),
  39. blurRadius: 0,
  40. ),
  41. ],
  42. ),
  43. child: Row(children: [
  44. Text('666'),
  45. ]),
  46. ),
  47. ],
  48. ),
  49. ),
  50. );
  51. }
  52. }