refactor of money utils with new money2 package
This commit is contained in:
@@ -12,11 +12,9 @@ Future<void> pickOperationsRange(
|
||||
ReportOperationsController controller,
|
||||
) async {
|
||||
final now = DateTime.now();
|
||||
final initial = controller.selectedRange ??
|
||||
DateTimeRange(
|
||||
start: now.subtract(const Duration(days: 30)),
|
||||
end: now,
|
||||
);
|
||||
final initial =
|
||||
controller.selectedRange ??
|
||||
DateTimeRange(start: now.subtract(const Duration(days: 30)), end: now);
|
||||
|
||||
final picked = await showDateRangePicker(
|
||||
context: context,
|
||||
|
||||
Reference in New Issue
Block a user