Getting a substring in DartI was trying to figure out the most efficient way to trim or shorten a String in Dart(more speficially for a Flutter project) yesterday. There's actually a couple of different ways to do it. The substring method The first and most typical one is usin...2 min read·flutterramblings.hashnode.devAug 12, 2021
Capturing a Flutter widget as an image using RepaintBoundaryThe other day I decided I wanted to add a feature in one of my projects to share a graph and I was looking for ways to convert the graph into an image. In the end the approach that I landed on was using the RepaintBoundary widget and I'm going to exp...3 min read·flutterramblings.hashnode.devAug 10, 2021
Mixing packages that don't support null safety in FlutterNull safety has been supported for a few months now in Dart and Flutter. I've migrated pretty much all of my projects to null safety without any issues but in some cases you might be waiting on a particular package that isn't supported yet. It's actu...3 min read·flutterramblings.hashnode.devJul 23, 2021
Excluding Dart files from static analysisI wrote a couple of posts about linting this year, but this one is about excluding files from static analysis. After adding static analysis to most of my Flutter projects I found that sometimes there were files that I didn't want to be warned about. ...2 min read·flutterramblings.hashnode.devJul 20, 2021
Run Flutter tests with GitHub ActionsIf you're like me you probably like setting your project up to automatically run your tests when you create a Pull Request on GitHub. I wrote another post about upgrading Flutter packages with GitHub Actions in May but I realised today that I never w...3 min read·flutterramblings.hashnode.devJul 11, 2021