1 min read
New updates for Flutter for Chrome OS
Along with Flutter’s seamless resizing feature, Flutter for Chrome OS comes with additional features such as scroll wheel support, hover management, and better keyboard event support.
The Flutter team also added a new set of lint rules to the Flutter tooling to catch violations of the most important of the Chrome OS best practice guidelines. This will help developers get a better idea of whether their Android app is going to run well on Chrome OS. In the IDE or when running flutter analyze at the command line, developers can see lints if their Flutter app has issues targeting Chrome OS.
Image source: GitHub
Lint rules can be turned on the Flutter app by creating a file named analysis_options.yaml in the root of your Flutter project. The contents should look similar to this:
Developing Flutter on ChromeOS has got the developer community excited.
— Maksim Lin (@mklin) May 11, 2019
We're working to make Flutter the natural way to build beautiful apps for Chrome OS, and to make Chrome OS a great developer workstation for Flutter development. Here's how: https://t.co/6yDPw8H3Hw #Flutter #ChromeOS @googlechrome #io19
— Tim Sneath (@timsneath) May 10, 2019
— Juhani Lehtimäki (@lehtimaeki) March 7, 2019
If you’d like to target Flutter for Chrome OS, you can do so today simply by installing the latest version of Flutter.