ranking.dart 472 B

12345678910111213141516171819202122
  1. import 'package:flutter/material.dart';
  2. class Ranking extends StatelessWidget {
  3. final Widget ranks;
  4. final Widget currentUser;
  5. const Ranking({required this.ranks, required this.currentUser, Key? key}) : super(key: key);
  6. @override
  7. Widget build(BuildContext context) {
  8. return Column(
  9. children: [
  10. SizedBox(
  11. height: 350,
  12. child: ranks,
  13. ),
  14. Container(
  15. child: currentUser,
  16. )
  17. ],
  18. );
  19. }
  20. }