title: Is there any way to print all selected dates in date-range-picker instead of it first and last dates in flutter?
body: <p>I'm trying to print all selected dates in date range picker, is there anyway to do it?</p>
  
  <p>here is my code</p>
  
  <pre class="lang-dart prettyprint-override"><code>import 'package:flutter/material.dart';
  import 'package:date_range_picker/date_range_picker.dart' as DateRagePicker;
  
      class TryCalendar extends StatefulWidget {
        @override
        _TryCalendarState createState() =&gt; _TryCalendarState();
      }
  
      class _TryCalendarState extends State&lt;TryCalendar&gt; {
        @override
        Widget build(BuildContext context) {
          return Scaffold(
            appBar: AppBar(
  
            ),
            body: new MaterialButton(
            color: Color(0xFFED7D31),
            onPressed: () async {
            final List&lt;DateTime&gt; picked = await DateRagePicker.showDatePicker(
                context: context,
                initialFirstDate: new DateTime.now(),
                initialLastDate: (new DateTime.now()).add(new Duration(days: 7)),
                firstDate: new DateTime(2015),
                lastDate: new DateTime(2020)
            );
            if (picked != null &amp;&amp; picked.length == 2) {
                print(picked);
            }
          },
          child: new Text("Pick date range")
            )
          );
        }
      }
  </code></pre>
  
  <p>I need to print all selected dates instead of first and last selected dates. Thank you!</p>