Skip to content

Create a CupertinoTableRow and CupertinoTable #19228

Closed

Description

@xster

The table should offer a grouping function with group label.
The row should offer a basic and a subtitled mode.

Checklist:

Activity

  1. added
    c: new featureNothing broken; request for a new capability
    p: cupertino_uicupertino_ui package in flutter/packages
    on Jul 10, 2018
  2. added this to the milestone on Jul 10, 2018
  3. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jul 22, 2018
  4. xster commented on Sep 1, 2018

    @xster
    MemberAuthor

    Instead of specifically a CupertinoTable, that could just be a normal ListView. The additional convenience widgets would be a CupertinoTableGroup for grouping, header, footer and a CupertinoTableTile for UITableViewCell styling

  5. matthew-carroll commented on Sep 21, 2018

    @matthew-carroll
    Contributor

    @xster going with a CupertinoTable sounds better to me than using a ListView. I think it fits more symmetrically with other Cupertino widgets. Is there any significant reason to avoid that?

  6. xster commented on Sep 25, 2018

    @xster
    MemberAuthor

    Chatted a bit offline yesterday. I was initially concerned that there wouldn't be enough features at the list level to warrant a new class but it seems like there would be. Ideally, create more composable Cupertino-agnostic layers in between while achieving those features like a DividerSeparatedListView etc.

  7. xster commented on Oct 8, 2018

    @xster
    MemberAuthor

    A good point from xster/flutter-test#1, the touch down should start highlighting the cell

  8. xster commented on Oct 22, 2018

    @xster
    MemberAuthor

    One note: the highlight color for the cell should be tied with the page transition animation which could be a bit tricky.

  9. removed their assignment
    on May 14, 2019
  10. fralways commented on Mar 7, 2020

    @fralways

    Just pointing out some expectations, maybe this is already covered. Not sure how much alignment is planned with native.

    1. Table should support sections
    2. Section headers should be sticky unless grouped
    3. Option to add left and right actions
    4. Support animations right away without any need of additional code (like in animated_list) for adding and deleting rows
    5. Option to add custom widget in CupertinoTable if rows count == 0
  11. added
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    on Apr 29, 2020
  12. added
    P2Important issues not at the top of the work list
    on May 29, 2020
  13. 3 remaining items

  14. TrGiLong commented on Dec 20, 2020

    @TrGiLong

    Hi everyone,

    I want to help flutter team to create CupertinoTable. Is anyone working on this now? Is #24603 related to here?

  15. xster commented on Dec 22, 2020

    @xster
    MemberAuthor

    @TrGiLong no one is working on it currently. We'd love to take PRs if you're willing.

    My general impression is that CupertinoRows will be boxes, CupertinoTableSections will be slivers and CupertinoTable will be the Viewport/Scrollable.

  16. ksilz commented on Dec 22, 2020

    @ksilz

    @TrGiLong no one is working on it currently. We'd love to take PRs if you're willing.

    @TrGiLong: Doesn't solve PR #70676 this issue here?

  17. TrGiLong commented on Dec 23, 2020

    @TrGiLong

    @ksilz I think not because the table view in iOS has more features like delete, insert button or drag. This PR contains only Form.

  18. ksilz commented on Dec 23, 2020

    @ksilz

    @ksilz I think not because the table view in iOS has more features like delete, insert button or drag. This PR contains only Form.

    @TrGiLong Ah, I see. Thank you!

  19. xster commented on Jan 6, 2021

    @xster
    MemberAuthor

    Forms are also primarily short contents so it doesn't use the sliver mechanism (i.e. the entire content is pre-emptively built). It doesn't lazy build rows or have sticky headers etc which need slivers.

  20. dehypnosis commented on Mar 5, 2021

    @dehypnosis

    check it: https://medium.com/flutter/whats-new-in-flutter-2-0-fe8e95ecc65 for iOS style form sections. here is flutter 2

  21. ksilz commented on Mar 6, 2021

    @ksilz

    check it: https://medium.com/flutter/whats-new-in-flutter-2-0-fe8e95ecc65 for iOS style form sections. here is flutter 2

    @dehypnosis I think that's great that more than two years after 1.0, we finally got something that Android had from the start - proper form fields. But I think we're still missing the CupertinoTableRow and CupertinoTable, aren't we?

  22. campovski commented on Mar 18, 2021

    @campovski
    Contributor

    I am in the process of completing implementation of CupertinoListTile and CupertinoListView for my personal project. After I am done, I will dedup code between my widgets and CupertinoFormRow CupertinoFormSection because the code is very much similar yet totally different usecase. You can expect a PR by the end of the week. This will include support for ordinary list tile like the ones in iOS Settings and new notched ones like in Notes or Reminders. I just have to eyeball properly some constants before I call it production ready.

  23. erf commented on Aug 2, 2021

    @erf

    @campovski any news on the CupertinoListTile?

    I found the package cupertino_list_tile, but it is "not a pixel perfect interpretation".

  24. ksilz commented on Jan 4, 2022

    @ksilz

    Even Google's own app team now thinks that Material UI on iOS is a mistake. If I read this article correctly, then they recently decided to use native iOS components instead of Material Design to "really make products feel great on Apple platforms".

    So in that spirit: Any updates on filling this iOS UI gap in Flutter?

  25. sedwo commented on Mar 8, 2022

    @sedwo

    @xster I second @ksilz comment. What's the plan for Flutter to better support iOS UI?
    In this specific case, a Cupertino based table view.

  26. github-actions commented on Aug 3, 2022

    @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 3, 2022
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

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.frameworkflutter/packages/flutter repository. See also f: labels.from: studyReported in a UX studyp: 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