Skip to content

Upcoming Cupertino Library Features #43041

Closed

Description

@HansMuller

This is a list of the new Cupertino 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 #35026, which covered July-September 2019. The comments and votes submitted for #35026 will not be forgotten, it's assumed that they all still apply to this new roll up.

There's a similar list of Material library features, see #43035.

✔️ Dark mode (iOS 13)

Support iOS13's dark mode and dynamic system colors.

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

  • CupertinoTheme & CupertinoTextTheme dark mode updates, #41859.
  • CupertinoDynamicColor, CupertinoSystemColors, #37719, #39927, #39430.
  • CupertinoButton and (bottom) CupertinoTabBar, #39765.
  • CupertinoActionSheet, CupertinoActionDialog #39215, CupertinoAlertDialog dark mode & CupertinoActionSheet fidelity #40007.
  • CupertinoActivityIndicator and CupertinoApp, #39289.
  • Dark Mode R: Refresh Control, #40454.
  • Dark mode CupertinoNavigationBar, #40189.
  • Dark mode for CupertinoSwitch and CupertinoScrollbar, Fidelity updates, #40636.
  • CupertinoPageScaffold dark mode, #40690.
  • Remove CupertinoSystemColors in favor of CupertinoColors, #40566.
  • CupertinoDatePicker & CupertinoTimerPicker dark mode, #39919.
  • Cupertino { TabScafold, TextSelection, TextField } dark mode & minor fidelity update, #41431.
  • CupertinoTheme & CupertinoTextTheme dark mode updates, #41859.

Modal presentations (iOS 13)

Shows a new view on top of the current view that looks like a stacked card.

✔️ Context menus (iOS 13)

Similar to “peek and pop”, but don’t rely on 3D touch.

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

Text Editing Gestures (iOS 13)

Various new gestures related to text editing.

✔️ New CupertinoSwitch (iOS 13)

Screen Shot 2019-06-24 at 3 14 36 PM

✔️ New SegmentedControl (iOS 13)

Screen Shot 2019-06-24 at 3 14 32 PM

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

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.

Support SF Symbols (iOS 13)

Long press and drag to select text (iOS 13)

Should be same selection gesture as Android.

CupertinoSearchBar

Similar to Material's SearchDelegate etc.

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.

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.

This is also part of the upcoming Material features.

Activity

  1. bitsydarel commented on Oct 18, 2019

    @bitsydarel

    Simplified I18N Process

    Can this task also take care of updating the info.plist about the supported languages so that we won’t have to do it manually for iOS?

  2. GregorySech commented on Oct 19, 2019

    @GregorySech

    Is autofill blocked for cupertino?

  3. added
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Oct 21, 2019
  4. added
    p: cupertino_uicupertino_ui package in flutter/packages
    c: proposalA detailed proposal for a change to Flutter
    and removed
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    on Oct 21, 2019
  5. HansMuller commented on Oct 21, 2019

    @HansMuller
    ContributorAuthor

    @bitsydarel - That's a good idea. Could you add a comment to #41437?

  6. justinmc commented on Oct 21, 2019

    @justinmc
    Contributor

    @GregorySech Autofill is not blocked for Cupertino. I just added a section above about it. Hopefully a lot of the work for autofill for Material and Cupertino is able to be shared, besides the native platform code.

  7. bitsydarel commented on Oct 21, 2019

    @bitsydarel

    Yes sure

  8. cbracken commented on Oct 21, 2019

    @cbracken
    Member

    @HansMuller I've unchecked the checkbox for flutter-team-archive/engine#12404, since it was reverted. I've also added a note about a fix that will be required in two places: beside the checkbox, and on the original PR.

  9. genert commented on Nov 1, 2019

    @genert

    Any way to help with autofill support for Cupertino?

  10. justinmc commented on Nov 1, 2019

    @justinmc
    Contributor

    @genert Let's discuss on the main Autofill issue, I just posted here: #13015 (comment)

  11. lanmonster commented on Nov 14, 2019

    @lanmonster

    Is there a scheduled time when these features will be released? just looking for a rough estimate (days, weeks, months, ...)

  12. justinmc commented on Nov 14, 2019

    @justinmc
    Contributor

    @lanmonster The features with a ✔️ have been released in master (there are links to the PRs above if you need to know the exact versions). For those without a check yet, take a look at the linked issues and follow the progress in there. Dark Mode and Modal Presentations are both under active development and have linked PRs too, for example. Others will probably get picked up after those two are done, probable on a "months" timeline unless someone steps in and wants to work on them.

  13. vanlooverenkoen commented on May 25, 2020

    @vanlooverenkoen
    Contributor

    @justinmc any idea when ModalPresentations will be implemented? This ticket is not updated for a long time

  14. justinmc commented on May 26, 2020

    @justinmc
    Contributor

    Unfortunately I was only able to do some initial investigation for ModalPresentations before I had to focus on other things, so it's not going to be soon. The issue mentioned for it (#42560) has a link to a Pub package that might be what you need in the meantime.

  15. vanlooverenkoen commented on May 26, 2020

    @vanlooverenkoen
    Contributor

    :( that is sad news. I think the Flutter team should make sure we can also build native looking like apps with Flutter. One of the things we were worried about when taking a look at Flutter were the "native like" widgets provided by the flutter team. This should be a high priority with every design change.

  16. justinmc commented on May 27, 2020

    @justinmc
    Contributor

    I totally agree and I hope we can get back to this soon. In the meantime, if you or anyone else cares enough about this feature to implement it yourself, PRs are always welcome and I'd be happy to help out with code review and guidance.

  17. AdeolaKOD commented on Jun 8, 2020

    @AdeolaKOD

    Is the cupertinoSearchBar in flutter now ?

  18. justinmc commented on Jun 8, 2020

    @justinmc
    Contributor

    @adeolaex No, but you can follow #9784 for any progress.

  19. justinmc commented on Jun 8, 2020

    @justinmc
    Contributor

    I'm going to close this as I'm no longer working on planning the high level Cupertino effort. Check the issues in the original description for any updates on individual features.

  20. 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.

  21. 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: cupertino_uicupertino_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