Skip to content

Add Flutter support#224

Closed
CillianMyles wants to merge 8 commits into
basecamp:masterfrom
CillianMyles:feature/add-flutter-support
Closed

Add Flutter support#224
CillianMyles wants to merge 8 commits into
basecamp:masterfrom
CillianMyles:feature/add-flutter-support

Conversation

@CillianMyles
Copy link
Copy Markdown
Contributor

@CillianMyles CillianMyles commented Jul 19, 2024

Motivation

Canonical mentioned that Flutter is their default choice for new desktop and mobile apps, having re-designed and re-built the Ubuntu installer with Flutter.

They list Flutter alongside Typescript and React in their Web Frontend Engineer job requirements.

As Flutter is technology that can build and deploy to the web, but also given it's ability to deploy to native platforms, and the fact that is very much a first class citizen in Ubuntu and backed by Canonical, I think Flutter deserves a home in Omakub.

PR includes

  • install script
  • uninstall script
  • vscode support
  • neovim support

Target Platforms

Out of the box this installation gives you the ability to target web and desktop linux:

image

Editing & LSPs

Both the VS Code and Neovim setups appear to be working (but I am by no means a Vim user, so if anyone would like to validate this I would appreciate it).

Links

@CillianMyles CillianMyles marked this pull request as ready for review July 24, 2024 22:33
Comment on lines +43 to +45
Flutter)
source ~/.local/share/omakub/install/terminal/flutter.sh
;;
Copy link
Copy Markdown
Contributor Author

@CillianMyles CillianMyles Jul 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am presuming this will load and execute the script. Will try to figure out a way to test it locally in a realistic way. 🤔

@dhh
Copy link
Copy Markdown
Member

dhh commented Jul 27, 2024

Hmm, appreciate this, but I don't want to get into installing specific frameworks, whether they be for web or desktop, as a general approach. There's just too many. Let's keep things at the language level. Thanks for looking into it, though!

@dhh dhh closed this Jul 27, 2024
@CillianMyles
Copy link
Copy Markdown
Contributor Author

@dhh I can understand the sentiment of not wanting to get involved in the framework wars.

I'm actually glad I did the PR anyways because I learned a lot about combining bash scripts, and finally turned my own personal config into a single line install 🎉

https://github.com/CillianMyles/dev-config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants