Skip to content

Instantly share code, notes, and snippets.

@vickycj
Created April 13, 2023 04:03
Show Gist options
  • Save vickycj/c1dfca056a143ac3abd5fac77f7c8d70 to your computer and use it in GitHub Desktop.
Save vickycj/c1dfca056a143ac3abd5fac77f7c8d70 to your computer and use it in GitHub Desktop.

FLutter Interview Questions

Android App Security Measures

  • SSL Pinning
  • Penetration Testing
  • Encrypting the PI data while storing in Local DB
  • Keystore protection
  • Encrypted Storage
  • Secure API keys in Android or IOS

Flutter Libraries and Architecture

Designing a Caching Library in Flutter

  • Handling Different Data Types
  • How to restrict caching limit
  • Swapping local cache to network cache based on conditions
  • Syncing the network cache to local cache

Designing an App to Support Multiple Theming in Flutter

  • Handling the theme change from the API response
  • Change the theme instantly across the app
  • Handling the custom objects like corner radius, font, text size from themes.

Designing a Library to Download the Assets like Images from S3 and Share Across App

  • Creating a manifest of assets available.
  • Recursively check the manifest for available key
  • Get the network path or local path of the asset and return.

Designing a Multi-Module Architecture Based on Business Domains in Flutter

  • Intermodule communication
  • Passing data between modules
  • Handling routes

Dependency Injection in Flutter

  • How to provide DI in multi module structure.
  • How to make sure the dependency state update reflects across app.

Flutter Bloc Architecture

  • How to handle state management using Cubit/Bloc.
  • Handling Mulitple blocs for single widget.
  • Difference in Statefull widget and Flutter Bloc in terms of memory and recomposition.

Unit Testing in Flutter

  • How to mock dependencies in Flutter
  • Handling asynchronous code in testing along with error handling
  • How to test widgets using unit testing framework.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment