title: How to get all dates and weekdays in current month in flutter
body: <p>I want to get current months all dates and weekdays like below image</p>
  <p>i get all dates with below code</p>
  <pre><code>DateTime now = DateTime.now();
  late DateTime lastDayOfMonth;
  lastDayOfMonth = DateTime(now.year, now.month + 1, 0);
  
    Row(
      children: List.generate(
         lastDayOfMonth.day,
          (index) =&gt; Padding(
            padding: const EdgeInsets.only(right: 24.0),
            child: Text(
              &quot;${index + 1}&quot;,
            ),
          ),
        ),
  </code></pre>
  <p>but i didn't get weekdays according dates</p>
  <p><a href="https://i.stack.imgur.com/RVJGB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RVJGB.jpg" alt="enter image description here" /></a></p>