Flutter Interview Questions and Answers | raywenderlich.com

In this article, you’ll work through a series of Flutter and Dart job interview questions and answers.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/10971345-flutter-interview-questions-and-answers

Here is a good follow-up video to watch from someone who really hires Flutter developers: https://youtu.be/pg29FkRxqqw

This is a Flutter web app with curated Flutter and Dart job interview questions.

https://jelenalecic.github.io

Hi! Thank you for your Q&A, it’s really great and thorough! A nice list for preparing for the interview :slight_smile: I found another list of 25 questions & answers for a Flutter interview, thought it might be a great addition to your material

1 Like

First, thank you for this post. Definitely most helpful and appreciated!

WRT nesting scaffolds, yes, you can nest them, however, this confused me a bit because the docs advise against it. Learning more Flutter, however, I can see how there may be nuanced use cases.

Although there are some use cases, like a presentation app that shows embedded flutter content, where nested scaffolds are appropriate, it’s best to avoid nesting scaffolds.

https://api.flutter.dev/flutter/material/Scaffold-class.html

It would seem that the GitHub Jobs API has been deprecated. However, you can use the GitHub Gists API in its stead.

import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:convert'; // Used for `json` decoding.

// Example Snippet

var _apiUrl = "https://api.github.com/users/bob/gists";
Uri _apiUri = Uri.parse(_apiUrl);

final _response = await http.get(_apiUri);

final List<dynamic> responseData = json.decode(_response.body);
print('responseData: ${responseData.length}');
print(responseData);

That’s a good point. I can see how that’s confusing. The next edition of this article should either clarify the answer to this question or swap it out with a different one.

Thank you for the notice about the GitHub Jobs API deprecation and also for the replacement recommendation. This question and answer definitely needs an update in the next edition.