1. 21 Feb, 2024 1 commit
    • Taha Tesser's avatar
      `CalendarDatePicker` doesn't announce selected date on desktop (#143583) · 5d2353c1
      Taha Tesser authored
      fixes [Screen reader is not announcing the selected date as selected on DatePicker](https://github.com/flutter/flutter/issues/143439)
      
      ### Descriptions
      - This fixes an issue where `CalendarDatePicker` doesn't announce selected date on desktop.
      - Add semantic label to describe the selected date is indeed "Selected".
      
      ### Code sample
      
      <details>
      <summary>expand to view the code sample</summary> 
      
      ```dart
      import 'package:flutter/material.dart';
      
      void main() {
        runApp(const MyApp());
      }
      
      class MyApp extends StatelessWidget {
        const MyApp({super.key});
      
        @override
        Widget build(BuildContext context) {
          return const MaterialApp(
            home: MyHomePage(title: 'Flutter Demo Home Page'),
          );
        }
      }
      
      class MyHomePage extends StatefulWidget {
        const MyHomePage({super.key, required this.title});
      
        final String title;
      
        @override
        MyHomePageState createState() => MyHomePageState();
      }
      
      class MyHomePageState extends State<MyHomePage> {
        void _showDatePicker() async {
          await showDatePicker(
            context: context,
            initialDate: DateTime.now(),
            firstDate: DateTime(1900),
            lastDate: DateTime(2200),
          );
        }
      
        @override
        Widget build(BuildContext context) {
          return Scaffold(
            appBar: AppBar(
              title: Text(widget.title,
                  style: const TextStyle(fontFamily: 'ProductSans')),
            ),
            body: const Center(
              child: Text('Click the button to show date picker.'),
            ),
            floatingActionButton: FloatingActionButton(
              onPressed: _showDatePicker,
              tooltip: 'Show date picker',
              child: const Icon(Icons.edit_calendar),
            ),
          );
        }
      }
      
      // import 'package:flutter/material.dart';
      
      // void main() => runApp(const MyApp());
      
      // class MyApp extends StatelessWidget {
      //   const MyApp({super.key});
      
      //   @override
      //   Widget build(BuildContext context) {
      //     return MaterialApp(
      //       debugShowCheckedModeBanner: false,
      //       home: Scaffold(
      //         body: Center(
      //           child: CalendarDatePicker(
      //             initialDate: DateTime.now(),
      //             firstDate: DateTime(2020),
      //             lastDate: DateTime(2050),
      //             onDateChanged: (date) {
      //               print(date);
      //             },
      //           ),
      //         ),
      //       ),
      //     );
      //   }
      // }
      ```
      
      </details>
      
      ### Before
      
      https://github.com/flutter/flutter/assets/48603081/c82e1f15-f067-4865-8a5a-1f3c0c8d91da
      
      ### After
      
      https://github.com/flutter/flutter/assets/48603081/193d9e26-df9e-4d89-97ce-265c3d564607
      5d2353c1
  2. 25 Jan, 2024 1 commit
  3. 23 Jan, 2024 1 commit
  4. 15 Dec, 2023 1 commit
  5. 01 Dec, 2023 1 commit
  6. 17 Oct, 2023 1 commit
  7. 29 Sep, 2023 1 commit
  8. 24 Aug, 2023 1 commit
  9. 18 Aug, 2023 1 commit
  10. 17 Aug, 2023 1 commit
  11. 16 Aug, 2023 1 commit
  12. 09 Aug, 2023 1 commit
  13. 08 Aug, 2023 1 commit
  14. 02 Aug, 2023 1 commit
  15. 19 Jul, 2023 1 commit
  16. 14 Jul, 2023 1 commit
  17. 13 Jul, 2023 1 commit
  18. 06 Jul, 2023 1 commit
  19. 01 Jun, 2023 1 commit
  20. 20 Apr, 2023 1 commit
  21. 12 Apr, 2023 2 commits
  22. 11 Apr, 2023 1 commit
    • Tae Hyung Kim's avatar
      Fix gen_date_localizations script and regenerate (#124547) · c0c5901c
      Tae Hyung Kim authored
      Internal bug: b/256596915
      
      Turns out we need to regenerate date localizations in order for the
      `intl` package to be setup properly within Flutter. This PR fixes the
      script (since it assumes the use of the old `.packages` way of handling
      packages), and regenerates the `generated_date_localizations.dart` file.
      c0c5901c
  23. 10 Apr, 2023 1 commit
  24. 07 Apr, 2023 1 commit
  25. 06 Apr, 2023 1 commit
  26. 04 Apr, 2023 5 commits
  27. 28 Feb, 2023 2 commits
  28. 27 Feb, 2023 1 commit
  29. 23 Jan, 2023 1 commit
  30. 11 Jan, 2023 1 commit
  31. 20 Dec, 2022 1 commit
    • harperl-lgtm's avatar
      Implemented Scrim Focus for BottomSheet (#116743) · 7f7a8778
      harperl-lgtm authored
      * Implemented Scrim Focus for BottomSheet so that assistive technology users can focus and tap on the scrim to close the BottomSheet, which they could not do before the change . The Scrim Focus's size changes to avoid overlapping the BottomSheet.
      7f7a8778
  32. 16 Dec, 2022 1 commit
  33. 07 Dec, 2022 1 commit
  34. 15 Nov, 2022 1 commit