#4 Flutter Interview Questions

Pubblicato il: 24 aprile 2023
sul canale di: 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.


In questa pagina del sito puoi guardare il video online #4 Flutter Interview Questions della durata di ore minuti seconda in buona qualità , che l'utente ha caricato IntelliLogics 24 aprile 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 385 volte e gli è piaciuto 7 spettatori. Buona visione!