lots of stuff
This commit is contained in:
parent
8bc010cfc7
commit
ba9e99a951
19 changed files with 608 additions and 360 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import "package:flutter/widgets.dart";
|
||||
import "package:freezed_annotation/freezed_annotation.dart";
|
||||
import "package:matrix/matrix.dart";
|
||||
import "package:nexus/models/full_room.dart";
|
||||
part "space.freezed.dart";
|
||||
|
||||
|
|
@ -7,8 +8,10 @@ part "space.freezed.dart";
|
|||
abstract class Space with _$Space {
|
||||
const factory Space({
|
||||
required String title,
|
||||
required Widget? avatar,
|
||||
required List<FullRoom> children,
|
||||
required Client client,
|
||||
@Default(false) bool fake,
|
||||
Uri? avatar,
|
||||
Icon? icon,
|
||||
}) = _Space;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue