enter_room_page.dart 928 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import 'package:flutter/material.dart';
  2. import 'package:common_project/common_project.dart';
  3. import 'package:module_chat/navigation/routers.dart';
  4. /**
  5. * des:
  6. */
  7. class EnterRoomPage extends StatefulWidget {
  8. @override
  9. _EnterRoomPage createState() => _EnterRoomPage();
  10. }
  11. class _EnterRoomPage extends State<EnterRoomPage> {
  12. GlobalKey? key = GlobalKey();
  13. @override
  14. Widget build(BuildContext context) {
  15. return SafeArea(child: Center(
  16. child:ListView(
  17. children: [1,3,4,5,6,7,8,8].map((e) {
  18. return InkWellDelay(
  19. shakeTime: 1,
  20. onTap: (){
  21. XLog.d("点击时候的时间戳${DateUtil.getNowDateMs()}");
  22. },
  23. child: Container(
  24. width: Sizes.width,
  25. height: 200.h,
  26. margin: EdgeInsets.symmetric(vertical: 20.h),
  27. color: Colors.purple,),);
  28. }).toList(),
  29. ),
  30. ));
  31. }
  32. }