<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Fred Grott</title>
    <description>The latest articles on DEV Community by Fred Grott (@fredgrott).</description>
    <link>https://dev.to/fredgrott</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F568479%2F752050cb-3712-492b-bafc-70d4aa6c67f0.png</url>
      <title>DEV Community: Fred Grott</title>
      <link>https://dev.to/fredgrott</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fredgrott"/>
    <language>en</language>
    <item>
      <title>DevOps In Flutter</title>
      <dc:creator>Fred Grott</dc:creator>
      <pubDate>Mon, 06 Nov 2023 16:43:33 +0000</pubDate>
      <link>https://dev.to/fredgrott/devops-in-flutter-khp</link>
      <guid>https://dev.to/fredgrott/devops-in-flutter-khp</guid>
      <description>&lt;p&gt;I am covering devops which is not in the Flutter docs as it is the major way we can re-use Skia through goldens and mocking to avoid having to run builds on every platform during development. Google started with a basic set including Goldens and mocking and then the Flutter Community expanded that as well to something awesome in devops.&lt;/p&gt;

&lt;p&gt;Flutter Localization Without Writing It Twice&lt;/p&gt;

&lt;p&gt;The Flutter Docs directs you to use the Flutter&lt;br&gt;
SDK tool gen l10n to write both the messages &lt;br&gt;
by hand and the AppLocaalizations class by hand.&lt;br&gt;
In large apps this can be a huge class of pain.&lt;br&gt;
Let me show you a way in which that class is auto&lt;br&gt;
generated along with the message classes all right&lt;br&gt;
from your ARB files!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://open.substack.com/pub/fredgrott/p/flutter-localization-without-writing?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web"&gt;https://open.substack.com/pub/fredgrott/p/flutter-localization-without-writing?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Material Design Holes In Flutter SDK And The Fix&lt;/p&gt;

&lt;p&gt;Google is building four front-ends and so Material Design &lt;br&gt;
is always implemented last in the Flutter SDK.There are a set &lt;br&gt;
of strategies you can use when the useMaterialVersion flag shows &lt;br&gt;
up to use the new Material Design features despite the Material &lt;br&gt;
Design holes in the Flutter SDK. These techniques are from my own tool box.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://open.substack.com/pub/fredgrott/p/material-design-holes-in-flutter?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web"&gt;https://open.substack.com/pub/fredgrott/p/material-design-holes-in-flutter?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A Design And DevOPS Way Of Generating Flutter Launch Icons&lt;/p&gt;

&lt;p&gt;DevOPS is one of the areas not detailed in the Flutter SDK docs.&lt;br&gt;
Being able to auto-generate the app launcher icons from the&lt;br&gt;
app icon artwork is useful rather than fully manually having&lt;br&gt;
to move and place the launcher icons in each platform subfolder.&lt;/p&gt;

&lt;p&gt;Not to mention that the flutter SDK still does not generate android&lt;br&gt;
adaptive launcher icons nor android 13 themed icons. So we have to &lt;br&gt;
rely upon a Flutter Community effort in the form of the flutter&lt;br&gt;
launcher icons package.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://open.substack.com/pub/fredgrott/p/a-design-and-devops-way-of-generating?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web"&gt;https://open.substack.com/pub/fredgrott/p/a-design-and-devops-way-of-generating?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Beating M3 In A Flutter Dev Machine&lt;/p&gt;

&lt;p&gt;Apple adds to the problem by soldering&lt;br&gt;
SSD storage drives to the CPU boards. Which is&lt;br&gt;
a problem as when that NAND SSD fails it shorts&lt;br&gt;
out the whole damn board, meaning Apple makes &lt;br&gt;
money selling you a replacement board.&lt;/p&gt;

&lt;p&gt;Is there a better way to get a Laptop for flutter &lt;br&gt;
app builds while at the same time having the &lt;br&gt;
right target platform devices at hand to &lt;br&gt;
do stakeholder try outs of the app? Yes, read &lt;br&gt;
on for how.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://open.substack.com/pub/fredgrott/p/beating-m3-in-a-flutter-dev-machine?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web"&gt;https://open.substack.com/pub/fredgrott/p/beating-m3-in-a-flutter-dev-machine?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How To Implement Observable Flutter Logging&lt;/p&gt;

&lt;p&gt;There are several logging solutions from the flutter&lt;br&gt;
community, however none are observable in that they &lt;br&gt;
are not using the Flutter SDK default reactibve&lt;br&gt;
streaming APIs. My approach uses a package &lt;br&gt;
called logging from the Flutter SDK team and&lt;br&gt;
the logging appenders package from the flutter&lt;br&gt;
community.&lt;/p&gt;

&lt;p&gt;And my approach allows to plug into third party&lt;br&gt;
observable logging service providers and even to &lt;br&gt;
use colored console appenders.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://open.substack.com/pub/fredgrott/p/how-to-implement-observable-flutter?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web"&gt;https://open.substack.com/pub/fredgrott/p/how-to-implement-observable-flutter?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Better App Exceptions Catching Than The Flutter SDK&lt;/p&gt;

&lt;p&gt;With using Catcher 2 one can plug into third party services&lt;br&gt;
like crashanalytics and even plug into slack and discord.&lt;br&gt;
And, the benefit of getting a pretty full page exception&lt;br&gt;
report with accept and cancel buttons.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://open.substack.com/pub/fredgrott/p/better-app-exceptions-catching-than?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web"&gt;https://open.substack.com/pub/fredgrott/p/better-app-exceptions-catching-than?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Flutter Static Code Analysis Tools To Pair for DevOPS&lt;/p&gt;

&lt;p&gt;Compilers are lazy and thus the efforts we have to manually&lt;br&gt;
do to move run time exceptions to compilable excutable&lt;br&gt;
code involves some static analysis to get warnings when &lt;br&gt;
our code sucks and needs to be changed. The other &lt;br&gt;
aspect is getting some code metrics to make the right&lt;br&gt;
architecture design decisions.&lt;/p&gt;

&lt;p&gt;The two tools I will show to pair up in static code analysis&lt;br&gt;
is Pascal's lint package and Dart Code Linter. Pascal's lint&lt;br&gt;
package fully implements the Effective Dart best practices.&lt;br&gt;
While the Dart Code Linter package implements code metrics to&lt;br&gt;
measures to be used in architecture code choice decisions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://open.substack.com/pub/fredgrott/p/flutter-static-code-analysis-tools?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web"&gt;https://open.substack.com/pub/fredgrott/p/flutter-static-code-analysis-tools?r=26egx&amp;amp;utm_campaign=post&amp;amp;utm_medium=web&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>devops</category>
      <category>productivity</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
