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. 23 Jan, 2024 1 commit
  3. 29 Sep, 2023 1 commit
  4. 17 Aug, 2023 1 commit
  5. 09 Aug, 2023 1 commit
  6. 08 Aug, 2023 1 commit
  7. 02 Aug, 2023 1 commit
  8. 19 Jul, 2023 1 commit
  9. 06 Jul, 2023 1 commit
  10. 10 Apr, 2023 1 commit
  11. 07 Apr, 2023 1 commit
  12. 06 Apr, 2023 1 commit
  13. 04 Apr, 2023 3 commits
  14. 28 Feb, 2023 1 commit
  15. 27 Feb, 2023 1 commit
  16. 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
  17. 16 Dec, 2022 1 commit
  18. 07 Dec, 2022 1 commit
  19. 29 Jun, 2022 1 commit
  20. 09 May, 2022 1 commit
    • Greg Spencer's avatar
      Adds `menuBarMenuLabel`, and removes unneeded key localizations (#102100) · 6504f289
      Greg Spencer authored
      When I added localizations for shortcut keys, I added some that actually can't be shortcut keys, so I'm removing them again. These are mostly Japanese-specific keys that don't even appear on modern keyboards for the most part.
      
      Also, added menuBarMenuLabel for an accessibility label for menu bar menus.
      
      I modified the code for the localization generation scripts to add a --remove-undefined flag that will remove any localizations that don't appear in the canonical locale.
      6504f289
  21. 04 Apr, 2022 1 commit
  22. 03 Mar, 2022 1 commit
  23. 16 Apr, 2021 1 commit
  24. 02 Feb, 2021 1 commit
  25. 06 Aug, 2020 1 commit
  26. 30 Jun, 2020 1 commit
  27. 29 Jun, 2020 1 commit
  28. 24 Jun, 2020 1 commit
  29. 23 Jun, 2020 1 commit
    • Tonic Artos's avatar
      New license page. (#57588) · 65550d0f
      Tonic Artos authored
      This is a PR addressing #57226 - Proposal: New UI for Licenses Page.
      
      This PR replaces the previous single panel license page with one that uses a master/detail flow (MDFlow) to display packages and their respective licenses.
      
      The License Page API remains unchanged. The logic for processing the license data is kept largely the same. This PR changes how the licenses are displayed, by introducing a responsive UI using the master/detail UI pattern. For now I am calling it Master Detail Flow, or MDFlow.
      
      MDFlow manifests as two layouts depending on the screen size. On small and medium displays, as determined by the breakpoints given by the Material Design Spec, MDFlow utilises a nested layout. On large displays, MDFlow uses a two panel (lateral) layout. MDFlow is implemented in this PR using a Navigator for the nested layout, and a Stack for the lateral layout. The master and detail views are built using builders. For the interactive component, detail pages are requested from the master view using a proxy obtained by a widget lookup on the build context; MasterDetailFlow.of(context).
      65550d0f
  30. 14 May, 2020 1 commit
  31. 29 Mar, 2020 1 commit
  32. 11 Mar, 2020 1 commit
  33. 12 Mar, 2019 1 commit
  34. 04 Feb, 2019 1 commit