feat: create table
This commit is contained in:
@@ -3,6 +3,9 @@ part of 'create_table_bloc.dart';
|
||||
@freezed
|
||||
class CreateTableEvent with _$CreateTableEvent {
|
||||
const factory CreateTableEvent.started() = _Started;
|
||||
const factory CreateTableEvent.createTable(
|
||||
String tableName, Offset position) = _CreateTable;
|
||||
const factory CreateTableEvent.createTable({
|
||||
required String tableName,
|
||||
required int capacity,
|
||||
required String location,
|
||||
}) = _CreateTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user