#4 Flutter Interview Questions

Publicado em: 24 Abril 2023
no canal de: 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.


Nesta página do site você pode assistir ao vídeo on-line #4 Flutter Interview Questions duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário IntelliLogics 24 Abril 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 385 vezes e gostou 7 espectadores. Boa visualização!