Skip to content

Upcoming Material Library Features #43035

Closed

Description

@HansMuller

This is a list of the new Material library features that we're likely to work on in the next three months. It does not include the ongoing work related to bugs and other existing issues. The goal is to emphasize new widgets and features we're hoping to work on in near term, and to solicit feedback. We'd welcome comments about the features listed here and features we may have missed.

Features for which the work is relatively complete are marked with ✔️.

This issue obsoletes #35088, which covered July-September 2019. The comments and votes submitted for #35088 will not be forgotten, we're assuming that they all still apply to this new roll up.

There's a similar list of Cupertino library features, see #43041.

Updated Date Picker

An improved UI that handles small screens better and supports selecting date intervals.

This project has been underway for a while already. It was announced in September 2019.

  • Improve small screen layout, #31514.
  • Increase TimePicker touch targets, #32053.
  • TimePicker moves to minute mode after hour selection, #31566.

Text Selection Menu update

The current text selection menu is lacking in terms of native fidelity and flexibility. For example:
#35826, #39624 #24407. The overall goal here is to closely match the native platforms in terms of visuals, behavior, and flexibility.

Autofill Support

The overall goal for this project will be to add engine support for the native autofill services, provide an SDK widget that exposes the autofill service data, and integrate autofill with the default text selection menu.

There is strong interest in this feature: #13015

Rotate/Pan/Zoom Widget

A demo of such a widget was included in the Flutter gallery nearly a year ago. This generally useful (and difficult to write) widget will be extracted from the gallery demo and folded into the SDK.

Simplified I18N Process

Apps will use a tool to generate a localized resources class from handwritten application resource bundle (".arb") files, one per supported locale.

There's a relatively detailed proposal in #41437. This feature applies to both the Cupertino and Material libraries.

Search Bar

Support for "persistent search" per the Material spec. There's an existing issue for this.

Reorderable List Animation

Improved interaction drag and drop animation, support for animating insert and remove.

✔️ Android 10 Route Transition Animation

The default route transition animation needs to be updated for Android 10.

An overview of the work planned for Android Q (now "Android 10") is here: Android 10 / Android Q Issues and Features

  • [Android 10] Activity zoom transition, #41935.

Systematic Fidelity Measurement and Tracking

Measure look and feel fidelity by comparing Flutter with native apps. This process needs to be part of post-submit testing; just like performance benchmarking.

The goal is to verify that a user can not distinguish between native and Flutter apps for visuals and behaviors that are intended to match their native counterparts.

This project applies to both the Cupertino and Material libraries.

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    c: proposalA detailed proposal for a change to Flutter
    on Oct 18, 2019
  2. mikuhl-dev commented on Oct 18, 2019

    @mikuhl-dev

    🚀

  3. Zazo032 commented on Oct 19, 2019

    @Zazo032
    Contributor

    I think the Date Picker now follows system's accent color (at least in Android 10). Will this feature added to the widget? Maybe it's present in other widgets, or even that accent color could be access (Android 10+) over SystemChrome widget.

  4. GregorySech commented on Oct 20, 2019

    @GregorySech

    Is autofill gonna be supported in Cupertino too?

  5. justinmc commented on Oct 21, 2019

    @justinmc
    Contributor

    @GregorySech Yes! I just added it to the corresponding Cupertino issue: #43041

  6. SaadArdati commented on Oct 31, 2019

    @SaadArdati

    Multiple date selection should be added as well and not just range. Many people have a use case for this.

  7. justinmc commented on Oct 31, 2019

    @justinmc
    Contributor

    @darrenaustin is multiple date selection something you're aware of?

  8. zerox1212 commented on Nov 4, 2019

    @zerox1212

    Can we please have a generic "picker/spinner" for Android/Material Design? We have a Cupertino picker.

    I just want to supply a list of strings to fill a picker. The 3rd party options leave a lot to be desired or cause build issues.

  9. Levi-Lesches commented on Nov 4, 2019

    @Levi-Lesches
    Contributor

    You could use showBottomSheet to show a ListView on the bottom part of the screen.

  10. zerox1212 commented on Nov 4, 2019

    @zerox1212

    You could use showBottomSheet to show a ListView on the bottom part of the screen.

    ListView is an option, but having a picker widget fits the flutter fast-design concept and the functionality itself is widespread in general. It was important enough to add a Cupertino widget at any rate.

  11. Levi-Lesches commented on Nov 4, 2019

    @Levi-Lesches
    Contributor

    I still think ListView is enough to cover the Material Design standards. Cupertino does need its own widget to implement the different scrolling animation (it looks like it's rotating instead of simply moving -- see ListWheelScrollView). For Material Design, all you really need is just a standard list.

  12. darrenaustin commented on Nov 14, 2019

    @darrenaustin
    Contributor

    @darrenaustin is multiple date selection something you're aware of?

    We have been thinking about it. However, we don't currently have a UI design for this from the Material team. The current plan is to implement the design they do have for the ranged date picker, and take it from there. I will make sure this feedback gets to the design team and see what they think.

  13. kaarens93 commented on Jan 7, 2020

    @kaarens93

    hi, wanted to see where the team's at with autofill
    know you guys are working hard but this is a very important feature

  14. roman-petrov commented on Mar 11, 2020

    @roman-petrov

    Just found a possible related issue with InkSplash/InkRipple Flutter animations which differs from native animation in Android. There are a couple of Flutter issues:

    Maybe these issues also should be added to this proposal somehow?

  15. justinmc commented on Mar 16, 2020

    @justinmc
    Contributor

    @roman-petrov Thanks for bringing that up. I think the author of the second issue there had a solution in a gist, I'll try to get a pull request opened for that.

  16. GroovinChip commented on Apr 12, 2020

    @GroovinChip
    Contributor

    Hi, any progress on #31247? ListTileTheme not being a part of ThemeData seems pretty important to me.

  17. HansMuller commented on Jun 8, 2020

    @HansMuller
    ContributorAuthor

    Closing this issue; please look to the linked issues and PRs for updates about progress, or to provide additional feedback.

  18. github-actions commented on Aug 20, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  19. locked as resolved and limited conversation to collaborators on Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions