#4 Flutter Interview Questions

Published: 24 April 2023
on channel: IntelliLogics
385
7

Flutter Interview Questions ( Part 4 )

When do you use 'double.infinity’?
It’s used when you want to specify the widget should be as big as a parent.
How do you create a widget that looks different in iOS and Android?
You can use the flutter_platform_widgets plugin, which makes things easier to handle, or you can check the platform manually by doing:
Platform.isIOS from dart:io package
or
if(Theme.of(context).platform == TargetPlatform.iOS)
Then, create/configure widgets depending on it.


On this page of the site you can watch the video online #4 Flutter Interview Questions with a duration of hours minute second in good quality, which was uploaded by the user IntelliLogics 24 April 2023, share the link with friends and acquaintances, this video has already been watched 385 times on youtube and it was liked by 7 viewers. Enjoy your viewing!