title: Overflow error in date picker in flutter?
body: <p>I am using the date picker but it's showing a strange overflow text-overflow error.</p>
  <p><a href="https://i.stack.imgur.com/F24Wi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F24Wi.png" alt="enter image description here" /></a></p>
  <p>I know the date picker uses the app Theme to style. But don't know which Theme property is used to style what in the dialogue box.</p>
  <p>my Date picker:-</p>
  <pre><code> showDatePicker(
      ontext: context,
      initialDate: DateTime.now(),
      firstDate: DateTime.now(),
       astDate:  DateTime.utc(2100, DateTime.now().month, DateTime.now().day),
    );
  </code></pre>
  <p>my App Theme:-</p>
  <pre><code>ThemeData(
  primaryColor: Color(0xffE6F5F1),
  accentColor: Color(0xFF4EB799),
  visualDensity: VisualDensity.adaptivePlatformDensity,
  scaffoldBackgroundColor: Colors.white,
  textTheme: TextTheme(
    headline2: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 96,
      letterSpacing: -1.5,
      fontFamily: &quot;Muli&quot;,
    ),
    headline3: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 60,
      letterSpacing: -0.5,
      fontFamily: &quot;Muli&quot;,
    ),
    headline4: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 48,
      letterSpacing: 0,
      fontFamily: &quot;Muli&quot;,
    ),
    headline5: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 34,
      letterSpacing: 0.25,
      fontFamily: &quot;Muli&quot;,
    ),
    subtitle1: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 24,
      letterSpacing: 0,
      fontFamily: &quot;Muli&quot;,
    ),
    headline6: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 20,
      letterSpacing: 0.15,
      fontFamily: &quot;Muli&quot;,
    ),
    subtitle2: const TextStyle(
      fontWeight: FontWeight.w400,
      fontSize: 18,
      letterSpacing: 0.15,
      fontFamily: &quot;Muli&quot;,
    ),
    bodyText2: const TextStyle(
      fontWeight: FontWeight.w400,
      fontSize: 16,
      letterSpacing: 0.5,
      fontFamily: &quot;Muli&quot;,
    ),
    bodyText1: const TextStyle(
      fontWeight: FontWeight.w400,
      fontSize: 14,
      letterSpacing: 0.25,
      fontFamily: &quot;Muli&quot;,
    ),
    button: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 14,
      letterSpacing: 1.25,
      fontFamily: &quot;Muli&quot;,
    ),
    caption: const TextStyle(
      fontWeight: FontWeight.w400,
      fontSize: 12,
      letterSpacing: 0.4,
      fontFamily: &quot;Muli&quot;,
    ),
    overline: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 10,
      letterSpacing: 1.5,
      fontFamily: &quot;Muli&quot;,
    ),
  ),
  );
  </code></pre>
  <p>What is wrong here, which theme property to style what in Date picker in flutter?</p>