Skip to content

Planned Material Library Features Jul-Sept 2019 #35088

Closed

Description

@HansMuller

This issue represented material library work we'd planned to undertake from July-September 2019. It has been replaced by a new similar issue that covers October-December 2019. If you're interested in voting or commenting on our latest plans please review #43035.

During the period covered by this issue we accomplished a subset of what we'd hoped to do. Here's a summary; see below for details.

  • Support for dark mode per the latest Material spec.
  • New ToggleButtons widget.
  • Exposed Android 10's system "gesture insets".

Over the same three months we landed 113 pull requests and closed 146 issues. Most of the issues, and some of the pull requests were provided by developers outside of the Flutter team within Google. We thank you-all for that!

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

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

✔️ Dark Mode

Existing support to be updated per the latest Material spec.

  • Updated ColorScheme.dark(), #36106.
  • Material widget's color now changes per elevation in dark mode, #35560.
  • SnackBar dark mode updates, #37038.
  • Added ThemeData.from(): Construct a Theme from a ColorScheme, #37355.
  • Added MaterialApp.themeMode to sync the app with the system dark mode setting, #35499, #36399.

Updated Date Picker

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

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

Search Bar

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

✔️ Toggle Button

Also called a "Segmented Control". Defined in the Material spec.

  • Added ToggleButtons widget, #34599.
  • Added ToggleButtons.textStyle, #38813.
  • ToggleButtons testing and docs, #38898, #38635.
  • - Toggle button minimum size constraints, #39857.

Reorderable List Animation

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

Android Q Navigation

Android Q can reserve swipe gestures that are initiated from the edges of the screen for system navigation. Apps will need to be aware of the system's "gesture insets" and the Scaffold drawer will have to accommodate them.

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

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jun 25, 2019
  2. byshy commented on Jul 11, 2019

    @byshy

    maybe create a listview that has a feature of enabling the user to select multiple items inside it and give the developer the freedom to implement the actions to manipulate the selected items

  3. rknell commented on Jul 11, 2019

    @rknell

    Calendar controls would be the hardest for me to get right, the rest I could hack together and feel like it would work, but a top notch calendar (would love a good time picker to work with it) would be awesome

  4. JaspervanRiet commented on Jul 11, 2019

    @JaspervanRiet
    Contributor

    We have built a date picker with almost the exact functionality shown here, using some code from the current date picker (but turning it into a vertically scrolling and interval supporting version). However, achieving good performance with that widget is rather hard, so we would welcome an official version.

    That said, I feel the priority should be on Android Q navigation since it's quite obviously vital to have that working.

  5. mlican commented on Jul 11, 2019

    @mlican

    There is some jitter in Flutter ListView scrolling, and the scrolling speed is a little slow. It is hoped that it will be further optimized.

  6. mikuhl-dev commented on Jul 12, 2019

    @mikuhl-dev

    The built in search widgets are just down right awful! Everything is hard-coded, plus I've never seen an app actually use a search page that looked like that. The Persistent Search is VERY needed.

  7. Waffulz commented on Jul 12, 2019

    @Waffulz

    This is hard though. Im between date picker, toggle button and search bar.

  8. mdrideout commented on Jul 12, 2019

    @mdrideout

    Date picker please!

  9. codinesh commented on Jul 12, 2019

    @codinesh

    Dark mode and date picker please.

  10. kolmakovruslan commented on Jul 12, 2019

    @kolmakovruslan

    Calendar, search bar

  11. rahulraj64 commented on Jul 12, 2019

    @rahulraj64

    I think you missed one of the most important widgets which play a crucial role in user-friendliness, which is 'Feature discovery'.

  12. TahaTesser commented on Jul 12, 2019

    @TahaTesser
    Contributor

    Search Bar & Toggle Button

  13. amugofjava commented on Jul 12, 2019

    @amugofjava

    Search Bar gets my vote. This is such a common widget in apps this would be extremely useful and time saving.

  14. amrfarid140 commented on Jul 12, 2019

    @amrfarid140
    Contributor

    Reorderable List Animation and date picker are the most needed ones for me.

  15. 1 remaining item

  16. hamza-imran75 commented on Jul 12, 2019

    @hamza-imran75

    Search bar and then Dark mode!!! 😋

  17. orestesgaolin commented on Jul 12, 2019

    @orestesgaolin
    Contributor

    In our apps there was always a discussion about proper date picker so I would love to see a good quality and versatile date picker from Flutter team.

    Search and dark mode with system support would be also important to me.

  18. drys262 commented on Jul 13, 2019

    @drys262

    Search Bar and Date Picker

  19. jffiorillo commented on Aug 24, 2019

    @jffiorillo

    "persistent search" per the Material spec please.

  20. mikuhl-dev commented on Aug 24, 2019

    @mikuhl-dev

    Let's get these features a'cookin'!

  21. tibbiyelininja commented on Aug 27, 2019

    @tibbiyelininja

    date range picker is very necessary component. i am glad you thought that.

  22. HansMuller commented on Oct 18, 2019

    @HansMuller
    ContributorAuthor

    I'm closing this issue, since it's been replaced by an updated planning issue: #43035.

  23. added
    c: proposalA detailed proposal for a change to Flutter
    and removed
    c: new featureNothing broken; request for a new capability
    on Oct 18, 2019
  24. changed the title [-]Upcoming Material Library Features[/-] [+]Planned Material Library Features Jul-Sept 2019 (see #43035)[/+] on Oct 18, 2019
  25. changed the title [-]Planned Material Library Features Jul-Sept 2019 (see #43035)[/-] [+]Planned Material Library Features Jul-Sept 2019[/+] on Oct 18, 2019
  26. github-actions commented on Aug 26, 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.

  27. locked as resolved and limited conversation to collaborators on Aug 26, 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