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:
13
flutter_date_pickers-master/lib/src/date_period.dart
Normal file
13
flutter_date_pickers-master/lib/src/date_period.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
/// Date period.
|
||||
class DatePeriod {
|
||||
/// Start of this period.
|
||||
final DateTime start;
|
||||
|
||||
/// End of this period.
|
||||
final DateTime end;
|
||||
|
||||
///
|
||||
const DatePeriod(this.start, this.end)
|
||||
: assert(start != null),
|
||||
assert(end != null);
|
||||
}
|
||||
Reference in New Issue
Block a user