Implemented player panel

This commit is contained in:
Andrew 2023-03-05 17:30:34 +07:00
parent a0896d99eb
commit e7e052e3a1
12 changed files with 396 additions and 24 deletions

View file

@ -1,6 +1,7 @@
class AuthData {
final String id;
final String login;
final String password;
const AuthData(this.login, this.password);
const AuthData(this.id, this.login, this.password);
}

View file

@ -0,0 +1,17 @@
import 'package:flutter/material.dart';
class SettingsItemModel {
final IconData icon;
final Color color;
final String title;
final String description;
final VoidCallback? onTap;
const SettingsItemModel({
required this.color,
required this.description,
required this.icon,
required this.title,
this.onTap,
});
}

View file

@ -0,0 +1,6 @@
class UserData {
final int gamesWon;
final int gamesLost;
const UserData(this.gamesWon, this.gamesLost);
}