mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-08 20:50:04 +00:00
New Example - Calendar (#91)
This commit is contained in:
14
flutter_date_pickers-master/example/lib/event.dart
Normal file
14
flutter_date_pickers-master/example/lib/event.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
/// Event for the date pickers.
|
||||
class Event {
|
||||
|
||||
/// Event's date.
|
||||
final DateTime date;
|
||||
|
||||
/// Event's title.
|
||||
final String dis;
|
||||
|
||||
///
|
||||
Event(this.date, this.dis)
|
||||
: assert(date != null),
|
||||
assert(dis != null);
|
||||
}
|
||||
Reference in New Issue
Block a user