add info for event

This commit is contained in:
2024-09-25 23:08:28 +02:00
parent 5e0d3ab72e
commit 1cdae0bb33
3 changed files with 18 additions and 4 deletions

View File

@@ -1,7 +1,5 @@
import 'package:flutter/material.dart';
import '../main.dart';
mixin ShowErrorDialog<T extends StatefulWidget> on State<T> {
void showErrorDialog(BuildContext context, String text) {
// Create AlertDialog

View File

@@ -3,6 +3,11 @@ class Events {
String? name;
String? place;
String? startDate;
String? endDate;
String? description;
String? zipCode;
String? city;
String? country;
Events({this.place, this.id, this.name, this.startDate});
@@ -11,5 +16,10 @@ class Events {
name = json['name'];
place = json['place'];
startDate = json["start_date"];
endDate = json['end_date'];
description = json['description'];
zipCode = json["zip_code"];
city = json['city'];
country = json['country'];
}
}