Sunday, 12 January 2020

Flutter Developer Job Interview Questions

This list contains some questions that can be asked from flutter Developer candidate applying for a Flutter Developer position.


Q1: Define the difference between a StatelessWidget and a StatefulWidget in Flutter?

Q2: How do explain the Stateful Widget Lifecycle?

Q3: What is WidgetsBindingObserver define its usage?

Q4: What is Flutter tree shaking?

Q5: What is a Spacer widget?

Q6:  What is the difference between hot restart and hot reload?

Q7:  What is an InheritedWidget?

Q8:  Why is the build() method on State and not StatefulWidgets?

Q9: What is a pubspec file in Dart?

Q10: How Flutter native generates the native code?

Q11:  What is a Navigator and what are Routes in Flutter?

Q12:  What is a PageRoute?

Q13: Explain async, await and Futures.

Q14:  How can you update a ListView dynamically?

Q15:  What is a Stream?

Q16:  What are keys in Flutter and when should you use it?

Q17:  What are GlobalKeys?

Q18:  When should you use mainAxisAlignment and crossAxisAlignment?

Q19: When can you use double.INFINITY?

Q20: What is Ticker, Tween and AnimatedBuilder?

Q20: What is ephemeral state?

Q21: What is an AspectRatio widget used for?

Q22: How would you access StatefulWidget properties from its State?

Q23: Is there a suggested limit to the number of FloatingActionButtons a screen can have?

Q24: Mention two or more operations that would require you to use or return a Future.

Q25: What is the purpose of a SafeArea?

Q25: When to use a mainAxisSize?

Q26: SizedBox VS Container?

Q27: List the Visibility widgets in flutter and the differences?

Q28: Can we use Color and Decoration property simultaneously in the Container?

Q29: In order for the CrossAxisAlignment.baseline to work what is another property that we need to set?

Q30: when should we use a resizeToAvoidBottomInset?

Q31: What is the difference between 'as','show' and 'hide' in an import statement?

Q32: What is the importance of a TextEditingController?

Q33: Why do we use a Reverse property in a Listview?

Q34: Difference between a Modal and Persistent BottomSheet with an example?

Q35: How is an Inherited Widget different from a Provider?

Q36: What is an UnmodifiableListView?

Q37: Difference between these operators "?? and ?."

Q38: What is the purpose of ModalRoute.of()?

Q39: Difference between a Navigator.pushNamed and Navigator.pushReplacementNamed?

Q40: What is a vsync?

Q41: When does the animation reach completed or dismissed status?

Q42: Difference between AnimationController and Animation?

Q43: When to use a SingleTickerProviderStateMixin and TickerProviderStateMixin?

Q44: Define a TweenAnimation ?

Q45: State the importance of a Ticker ?

Q46: Why do we need a mixins ?

Q47: Difference between getDocuments() vs snapshots()?

Q48: Give an introduction BLoC Pattern for state Management in Flutter?

Q49: what is Provider?

Q50: How to make Api call in flutter?

No comments:

Post a Comment