Open in app

Sign In

Write

Sign In

Suragch
Suragch

3.7K Followers

Home

About

Pinned

Flutter and Dart development articles

Organizing my articles for Flutter and Server Side 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. However, if you’re thinking…

Flutter

5 min read

Flutter and Dart development articles
Flutter and Dart development articles
Flutter

5 min read


1 day ago

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. It was kind of hard to explain in a chat message, so this article is for him…and for you if you have…

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


Dec 17, 2022

Programming for the good of others

I always think it’s good to reflect on the meaning of life. Life is short, and it’s so easy to get caught up in making money and building your personal brand. What’s your motivation for programming? At the end of your life, what will it all mean? Will there be…

Programming

5 min read

Programming for the good of others
Programming for the good of others
Programming

5 min read


Mar 26, 2022

Programming was my god

I originally meant to quietly post this as my Stack Overflow profile, but profiles there are only allowed 3000 characters, so here we are on Medium. Normally I don’t publicly write about sensitive topics that I know are controversial because I dislike controversy and I didn’t want any negative consequences…

Programming

4 min read

Programming was my god
Programming was my god
Programming

4 min read


Jan 6, 2022

Relative vs package imports in Flutter and Dart

Why is my IDE complaining at me? Perhaps you’ve seen one of these warnings in your IDE: Prefer relative imports for files in lib/. DO avoid relative imports for files in lib/. Messages like these come from Dart’s linting rules, which are warnings generated by dart analyze and communicated to…

Flutter

5 min read

Relative vs package imports in Flutter and Dart
Relative vs package imports in Flutter and Dart
Flutter

5 min read


Aug 26, 2021

Cloning lists, maps, and sets in Dart

Understanding the difference between deep and shallow copying When you create a collection in Dart, the contents of the collection are mutable. You can see that in the following example: final myList = ['sheep', 'cow']; myList.add('horse'); // [sheep, cow, horse] myList.remove('cow'); // [sheep, horse] myList[0] = 'goat'; // [goat, horse] …

Dart

6 min read

Cloning lists, maps, and sets in Dart
Cloning lists, maps, and sets in Dart
Dart

6 min read


Published in Geek Culture

·Aug 19, 2021

Applying Elon Musk’s engineering principles to software development

The five-step process and how it relates to software engineering I recently listened to Elon Musk’s interview from Tim Dodd of the Everyday Astronaut as Elon gave him a guided tour of the SpaceX Starbase site. It was a YouTube video, but I say listened and not watched because I…

Programming

8 min read

Applying Elon Musk’s engineering principles to software development
Applying Elon Musk’s engineering principles to software development
Programming

8 min read


Jul 22, 2021

How to send yourself email notifications from a Dart server

A guide to using the mailer package When an important event happens on your Dart server, it would be nice to get a notification. One way to do that is to send yourself an email. This article will cover how to do that using the mailer package. You’ll create a…

Flutter

5 min read

How to send yourself email notifications from a Dart server
How to send yourself email notifications from a Dart server
Flutter

5 min read

Suragch

Suragch

3.7K Followers

Flutter and Dart developer. Twitter: @suragch1

Following
  • Greg Perry

    Greg Perry

  • Michael Thomsen

    Michael Thomsen

  • Asaye Dilbo

    Asaye Dilbo

  • creativecreatorormaybenot

    creativecreatorormaybenot

  • Alfonso García Santiago

    Alfonso García Santiago

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech