fixed rendering bug on linux + ip configuration

This commit is contained in:
2025-10-15 14:20:31 +02:00
parent 86e89b5ed8
commit 74a918d62b
7 changed files with 146 additions and 24 deletions

View File

@ -7,12 +7,14 @@ part 'project.g.dart';
class Project {
final String id;
final String name;
final String ipAddress;
final int port;
final List<UdpPackage> packages;
Project({
required this.id,
required this.name,
required this.ipAddress,
required this.port,
required this.packages,
});
@ -25,12 +27,14 @@ class Project {
Project copyWith({
String? id,
String? name,
String? ipAddress,
int? port,
List<UdpPackage>? packages,
}) {
return Project(
id: id ?? this.id,
name: name ?? this.name,
ipAddress: ipAddress ?? this.ipAddress,
port: port ?? this.port,
packages: packages ?? this.packages,
);