Skip to content

Template for flutter create cupertino #18819

Open

Description

@xster

A flutter create template that doesn't import material

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jul 22, 2018
  2. zoechi commented on Feb 18, 2019

    @zoechi
    Contributor

    Related #15279, #14719, #13611

  3. added this to the milestone on Feb 18, 2019
  4. matthew-carroll commented on Apr 9, 2019

    @matthew-carroll
    Contributor

    CC @willlarche

    @devoncarew working on this ticket implies the possibility of having multiple project templates. Is this something that your team can help with? Or, is there any particular reason why multiple project templates would be an issue?

  5. willlarche commented on Apr 10, 2019

    @willlarche
    Contributor

    I support multiple templates. But that should be spec'd out by needs and research. Has it? (I actually don't know.)

  6. matthew-carroll commented on Apr 10, 2019

    @matthew-carroll
    Contributor

    CC @InMatrix were any investigations ever done into multiple templates? If not, can we chat a little bit about it? There are likely benefits across multiple use-cases. I know I had brought this up at some point when were in 1842, but then it got away from me as I focused more on Android APIs instead of tooling...

  7. Hixie commented on Apr 11, 2019

    @Hixie
    Contributor

    We need to be really really careful when designing extra templates. Our single existing template is a massive part of our first hour experience and anything that risks derailing new users from that experience is extremely dangerous in terms of our user adoption. Please make sure to loop me in on any design discussions and code reviews.

  8. devoncarew commented on Apr 11, 2019

    @devoncarew
    Contributor

    Mechanically, the IDEs need to be told about each additional template (we support app, package, and plugin) currently.

    If the number grows too large, we'll have to change how we present them in the UI. One additional one won't cause issues. We'll just need to be aware, and perhaps do some version detection so we only offer it with versions of the framework that have those templates.

  9. matthew-carroll commented on Apr 11, 2019

    @matthew-carroll
    Contributor

    @Hixie - Will do.

    @devoncarew what about a new screen in the flow after you select the app template? I guess technically this isn't so much about project structure as it is about initial Dart source code. Maybe we could make it accessible via a subtle button that wouldn't distract new users?

  10. devoncarew commented on Apr 11, 2019

    @devoncarew
    Contributor

    We do have a bit of logic there that's template dependent - we'd want to update that as well for new templates.

    Here's the UI for IntelliJ project creation:

    Screen Shot 2019-04-11 at 1 54 50 PM

    And for Android studio project creation:

    Screen Shot 2019-04-11 at 1 55 53 PM

    Note that in Android Studio, there is (frequently) and follow-on wizard page which is customized for the project type. cc @stevemessick for fyi

  11. matthew-carroll commented on Apr 11, 2019

    @matthew-carroll
    Contributor

    Thanks @devoncarew. And as @Hixie said, we have to be very careful here not to distract from the first hour experience. So I'm wondering where we can take this from here?

    Should we collect some data with @InMatrix and @jayoung-lee? Or should we propose a specific wizard UI that would allow for selecting other source code configs?

    Since this conversation has happened multiple times over the last year, I think it would be good to get the ball moving in some direction. Thoughts?

  12. xster commented on Apr 11, 2019

    @xster
    ContributorAuthor

    My original thought was just to add a flutter create --ios or flutter create -t app-ios or some such that doesn't impact the onboarding flow.

    For IDEs, since it's not an additional dimension (i.e. plugin/packages are already android+iOS), it'd just be another entry in the project type. It can either be Application/Cupertino Application or Application - Material/Application - Cupertino or something like that.

  13. stevemessick commented on Apr 11, 2019

    @stevemessick
    Contributor

    I know some devs write apps only for iOS. This request seems to assume no devs write only for Android. Is that true? I ask because my first thought was if we need a material-specific template, as well.

  14. 2 remaining items

  15. csells commented on Jan 10, 2020

    @csells
    Contributor

    @xster we have a codelab that shows off the use of Cupertino with Flutter and it's the first thing that comes up when searching on google.com for "flutter cupertino app" -- do you have that sufficient?

  16. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jan 10, 2020
  17. InMatrix commented on Jan 10, 2020

    @InMatrix

    As we learned in recent research, developers who do use the Cupertino library still use Material widgets, since Cupertino provides a much more limited widget set than the Material library. Therefore, I don't think the original request "A flutter create template that doesn't import material" would provide practical value to users.

    That said, making the default template visually more platform-neutral would help improve the perception of Flutter among iOS developers.

  18. csells commented on Jan 10, 2020

    @csells
    Contributor

    @InMatrix do you think we should be updating our app template to be more platform-neutral? I can see that being useful as we encompass more platforms. what are you thinking?of course, we should take into account the note from @Hixie above that cautions us to be careful here.

  19. InMatrix commented on Jan 10, 2020

    @InMatrix

    I think the template can use some styling tweaks to make it feels lighter and flatter to suit iOS aesthetics and replace the Floating Action Button with a regular button, since the FAB is more common on Android than on iOS or the Web. @willlarche had a mock along these lines.

  20. willlarche commented on Jan 10, 2020

    @willlarche
    Contributor
  21. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Apr 30, 2020
  22. added
    P2Important issues not at the top of the work list
    on May 29, 2020
  23. removed this from the milestone on Aug 17, 2020
  24. added
    packageflutter/packages repository. See also p: labels.
    and removed
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Aug 18, 2026
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 capabilityp: cupertino_uicupertino_ui package in flutter/packagespackageflutter/packages repository. See also p: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions