Open in app

Sign in

Write

Sign in

Suragch
Suragch

6K Followers

Home

About

Pinned

Flutter and Dart development articles

Organizing my articles for Flutter and Dart All of my Medium articles below are friend links, so anyone can read them without a Medium subscription. If you are ever blocked from reading one of my articles, just come here to get the friend link. About the author Programming was my god Programming for…

Flutter

4 min read

Flutter and Dart development articles
Flutter and Dart development articles
Flutter

4 min read


Oct 14

Flutter minimalist state management: Weather app

An additional example to clarify the process This tutorial will walk you through making a basic weather app using the state management tools that are already built into Flutter. …

Flutter

10 min read

Flutter minimalist state management: Weather app
Flutter minimalist state management: Weather app
Flutter

10 min read


Oct 6

Flutter minimalist state management: Counter app

An additional example to clarify the process A couple of years ago I wrote the article Flutter State Management for Minimalists. …

Flutter

5 min read

Flutter minimalist state management: Counter app
Flutter minimalist state management: Counter app
Flutter

5 min read


Jul 19

Web and desktop support for file upload and download in Flutter

Managing conditional imports and CORS issues Here’s what I want to do: The user chooses a file and uploads it to a server. The user downloads a file and chooses where to save it. Both of these tasks should support web and desktop. The problem is, on desktop (and mobile)…

Flutter

10 min read

Web and desktop support for file upload and download in Flutter
Web and desktop support for file upload and download in Flutter
Flutter

10 min read


Published in

Flutter Community

·Jul 12

How the GetIt service locator package works in Dart

Unveiling the magic The GetIt package provides a convenient way to access app services and state management classes from anywhere within your app. This functionality is known as a service locator, which is often compared to dependency injection, another common way to decouple dependencies in your app. The idea of…

Flutter

9 min read

How the GetIt service locator package works in Dart
How the GetIt service locator package works in Dart
Flutter

9 min read


Mar 20

Getting Started with the Flutter Realm SDK for MongoDB

This tutorial covers local storage only, no Atlas device sync Normally I use SQLite for storing large amounts of data locally, and the sqflite package has served me well for that. However, I’m now working on a project that will require syncing data across devices, and I have no idea…

Programming

8 min read

Getting Started with the Flutter Realm SDK for MongoDB
Getting Started with the Flutter Realm SDK for MongoDB
Programming

8 min read


Feb 24

Thoughts on using third-party packages (or not)

The pros and the cons In this article I’ll be referring to Flutter and Dart packages, but the principles apply across languages and frameworks. There’s a package for that When you’re just getting started building a new application in a new language and framework, everything is fresh and exciting — but it’s also difficult. How…

Programming

15 min read

Thoughts on using third-party packages (or not)
Thoughts on using third-party packages (or not)
Programming

15 min read


Feb 2

Flutter styled text with TextSpan

Quick reference and tutorial Written for Flutter 3.7. Every time I need to style text in Flutter, it always feels like reinventing the wheel. I’ve written about styled text before, but this will be a quick-reference article just related to using text spans. Text vs RichText vs Text.rich If your entire text uses the same…

Flutter

6 min read

Flutter styled text with TextSpan
Flutter styled text with TextSpan
Flutter

6 min read


Jan 25

How to show an error message in the UI in Flutter

A minimal example for a dialog or snackbar message My friend asked me today how to show an error message in the UI when making an HTTP request. …

Flutter

4 min read

How to show an error message in the UI in Flutter
How to show an error message in the UI in Flutter
Flutter

4 min read


Jan 18

Adding code snippets in VS Code

A short tutorial to make writing code a little faster I’m in the habit of scattering print statements around my code. This saves from having to step through a debugger to see what the code is doing. In the Dart language, it looks like this: print('message'); Everything but the message…

Programming

4 min read

Adding code snippets in VS Code
Adding code snippets in VS Code
Programming

4 min read

Suragch

Suragch

6K Followers

Flutter and Dart developer. Twitter: @suragch1

Following
  • Tim Sneath

    Tim Sneath

  • Michael Thomsen

    Michael Thomsen

  • Greg Perry

    Greg Perry

  • Asaye Dilbo

    Asaye Dilbo

  • Alfonso García Santiago

    Alfonso García Santiago

See all (17)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams