AddFriendScreen.dart 723 B

12345678910111213141516171819202122232425262728293031
  1. import 'package:flutter/material.dart';
  2. import 'package:prime_chat/basic/Entities.dart';
  3. class AddFriendScreen extends StatefulWidget {
  4. const AddFriendScreen(this.profile, {Key? key}) : super(key: key);
  5. final Profile profile;
  6. @override
  7. State<AddFriendScreen> createState() => _AddFriendScreenState();
  8. }
  9. class _AddFriendScreenState extends State<AddFriendScreen> {
  10. @override
  11. Widget build(BuildContext context) {
  12. return Scaffold(
  13. appBar: AppBar(
  14. title: const Text("添加好友"),
  15. ),
  16. body: Column(
  17. children: const [
  18. TextField(
  19. decoration: InputDecoration(
  20. hintText: "消息"
  21. ),
  22. )
  23. ],
  24. ),
  25. );
  26. }
  27. }