DEV Community

Laura Gyre
Laura Gyre

Posted on

Flutter/Dart App Development for Cheap Beginners

This is no expert advice in this post. I'm a beginner, myself, on day 4 of 100 days of code (though since it took me a few days to discover that tag it's really more like day 10). I have dabbled in code, mostly through web design, but nothing too serious. So, what I think I am qualified to do I think is give a pretty good overview of things that make sense to me as a beginner.

If you're a complete beginner, too, you should know that Dart is a programming language, and Flutter is a system that allows us to use Dart to write apps that work on both Android and iOS devices, while adding a lot of other useful function, including a pretty intuitive way of doing responsive design. This is huge for me! I can't speak to what the benefits and concerns about this are on a more technical sense, but I know I was hesitating to learn app development partly because I was having trouble picking an operating system. Also, so far it's quite intuitive and, with my background, I'm pretty into the elements that draw a lot on web design concepts.

I have a list of goals/fears related to developing apps. So far I've conquered three of them:

  1. figuring out the Hardware and Software required to work on this
  2. understanding and learning the basic syntax of Dart
  3. compiling and running apps on actual devices

If you're a complete beginner, too, and would like to know how I got started, these are the tools I recommend most:

Hardware: A Mac is more versatile; there's no way (no easy way at least, I was a little unclear on the details of this) to compile code for iOS from a PC, while a Mac can create apps for both systems. This isn't entirely conclusive, but a pretty good metric for whether your Mac can do all this is whether it can run Mojave. I upgraded to a MacBook Pro from 2012 (the earliest model that theoretically can), and so far it's working, while my 2011 MacBook Air didn't.

Dart Pad lets you experiment with Dart code online, before you deal with installation.

Dart Academy Bootcamp is a fun way to try out some basic concepts and get automatic feedback on how your code is working.

Smartherd's Dart Tutorial is the most complete set of beginner tutorials I've found, with videos and also code to reference. I kind of wish I had started with this, because I prefer to understand the basics before getting thrown into projects that require them. Someone pointed out that this course doesn't cover asynchronous programming/future; here's a short tutorial that does.

Angela Yu's Flutter course on Udemy is a pretty good place to go next, (especially if Udemy is having one of their frequent $10 sales), or a decent place to start if you have programming experience or if you do like being thrown into things. Software instructions seem to get outdated pretty quickly and I had to do some things slightly differently than she described (had to install Xcode before some of the other steps would work, for one thing) but the walkthrough of this process was still incredibly helpful. After that, she jumps into creating actual apps using the Flutter framework.

A couple of relevant things I learned the hard way: in order to run apps on an iPhone or iPad, you'll need to sign up for a free Apple developer account. Also, in Android Studio (the main piece of software) you might want to go into Preferences>Editor>General>Code Completion and turn on "show the documentation popup." This is used a lot in the course, but not fully explained.

There are some other Udemy Flutter courses, too, which focus on slightly different subjects and have equally high ratings. I was kind of disappointed to learn that there's usually very little chance of meaningful feedback despite claims to the contrary, but I guess you can't expect too much for $10.

For further questions, Dart in Action and Flutter in Action seem like great online resources. And, of course, Google. Most of my questions, especially about actual code, have already been answered on Stack Overflow or explained in the documentation.

For 100daysofCode purposes, here's the uncompleted portion of my fears/goals list:

  1. Lambda functions, I still don't understand them
  2. GIT/collaboration
  3. Databases
  4. API stuff (addressed at least somewhat in later parts of the Udemy course)
  5. writing and running tests
  6. Publishing

Over the next 90 days or so, I hope to discover and share more resources as I learn about these subjects.

Top comments (1)

Collapse
 
antonia profile image
Ant

If your library offers access to Lynda.com, I believe Angela Yu's Flutter course is on there.