title: Flutter - How I make date format day on/off unlimited
body: <p>Flutter - How I make date format day on/off auto unlimited</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>List&lt;DateTime&gt; onDates = [
    DateTime(2021, 03, 1),
    DateTime(2021, 03, 3),
  ];
  List&lt;DateTime&gt; offDates = [
    DateTime(2021, 03, 2),
    DateTime(2021, 03, 4),
  ];</code></pre>
  </div>
  </div>
  </p>
  <p><img src="https://i.stack.imgur.com/ZtQJb.png" alt="Flutter - How I make date format day on/off auto unlimited" /></p>