Widgets & UI

Flutter widgets, layouts, UI components, and responsive design

20
Easy Questions
21
Medium Questions
4
Hard Questions

Easy Questions (20)

Diff between column and Listview

Diff between flexible and expanded?

What is the difference between sizedbox and container ?

#304EasyWidgets & UI

When should you use mainAxisAlignment and crossAxisAlignment?

flutterwidgetlayout
#308EasyWidgets & UI

What is the purpose of the Expanded widget in Flutter?

flutterwidgetlayout
#310EasyWidgets & UI

What is the purpose of the Stack widget in Flutter?

flutterwidgetlayout
#315EasyWidgets & UI

What is the purpose of SafeArea widget in Flutter?

widgetsafeareaui
#316EasyWidgets & UI

What is TextEditingController?

widgetformsinput
#317EasyWidgets & UI

What is an AspectRatio widget used for?

widgetlayoutaspectratio
#320EasyWidgets & UI

What is the difference between padding and margin in Flutter?

widgetlayoutspacing
#321EasyWidgets & UI

What is the purpose of the scaffold widget in Flutter?

widgetscaffoldmaterial
#322EasyWidgets & UI

What is the purpose of the SingleChildScrollView widget in Flutter?

widgetscrollinglayout
#323EasyWidgets & UI

What is a Theme in Flutter?

themestylingdesign
#324EasyWidgets & UI

What is the purpose of the Visibility widget in Flutter?

widgetvisibilityui
#325EasyWidgets & UI

What is a modal bottom sheet in Flutter?

widgetmodalbottomsheet
#326EasyWidgets & UI

How do you use the Positioned widget in Flutter?

widgetpositionedstack
#329EasyWidgets & UI

What is the purpose of the FittedBox widget in Flutter?

widgetfittedboxlayout
#330EasyWidgets & UI

What is the difference between Cupertino and Material Design in Flutter?

designcupertinomaterial

In initState function in StatefulWidget in Flutter, should super.initState() be called before any function or after any function?

initstatelifecyclestatefulwidgetbest-practices
View Details →CodeResources

In dispose function in StatefulWidget in Flutter, should super.dispose() be called before any function or after any function?

disposelifecyclestatefulwidgetmemory-managementbest-practices
View Details →CodeResources

Medium Questions (21)

#2MediumWidgets & UI

Use pagination in the list and use `ListView.builder` instead of `ListView`.

#4MediumWidgets & UI

**Async state:** `FutureBuilder` / `StreamBuilder`.

stateasyncfuturestream
#296MediumWidgets & UI

Listview.builder inside the column what error it will throw and why ?

#305MediumWidgets & UI

What is the use of Ticker in Flutter?

flutteranimation
#309MediumWidgets & UI

What is the purpose of the Flex widget in Flutter?

flutterwidgetlayout

What is the difference between NetworkImage and Image.network in flutter?

widgetimagenetworking
View Details →CodeResources
#335MediumWidgets & UI

What is resizeToAvoidBottomInset? When should we use it?

widgetkeyboardscaffold
#336MediumWidgets & UI

Can you explain the process of creating custom widgets in Flutter?

widgetcustomcomposition
#337MediumWidgets & UI

What is FutureBuilder in Flutter and how is it used to build dynamic UI?

widgetasyncfuturebuilder
#339MediumWidgets & UI

How do you handle user input in Flutter?

inputformsgestures

What is the purpose of the LayoutBuilder widget in Flutter?

widgetlayoutresponsive
#341MediumWidgets & UI

What is a MediaQuery in Flutter?

mediaqueryresponsivedevice
#343MediumWidgets & UI

What is the purpose of the AnimatedBuilder widget in Flutter?

widgetanimationanimatedbuilder
#344MediumWidgets & UI

What is the purpose of the AnimatedSwitcher widget in Flutter?

widgetanimationanimatedswitcher
#345MediumWidgets & UI

How do you implement a draggable widget in flutter?

widgetdraggablegestures
#346MediumWidgets & UI

How to create a list with persistent headers?

listheadersslivers
View Details →CodeResources
#358MediumWidgets & UI

What is the difference between Flexible and Expanded?

widgetslayoutflexibleexpanded
View Details →CodeResources
#359MediumWidgets & UI

How can you make your application responsive?

responsivelayoutuimediaquery
View Details →CodeResources

What is IndexedStack and what is the use of it along with BottomNavigationBar?

indexed-stackbottom-navigation-barnavigationwidgetsstate-management
View Details →CodeResources

What is the difference between Adaptive and Responsive design in Flutter?

flutterresponsiveadaptivelayoutmediaquery

What is the difference between precacheImage and CachedNetworkImage in Flutter?

flutterimagescachingperformanceprecache
View Details →CodeResources

Hard Questions (4)

#348HardWidgets & UI

What are Slivers?

widgetsliversscrolling
#349HardWidgets & UI

What is vsync? Explain

animationvsyncperformance
#351HardWidgets & UI

What is a CustomPainter in Flutter?

widgetcustompainterrendering
#355HardWidgets & UI

How do you implement a custom animation curve in flutter?

animationcurvescustom