What is Flutter? -Flutter is an open source framework created by Google for building for building beautiful, natively compiled, multi-platform applications for mobile (Android & iOS), web, and desktop from a single codebase. It uses the Dart programming language and provides a rich set of pre-designed widgets to create modern and expressive user interfaces. How can Flutter build apps for different platform using one codebase? -Flutter achieves cross-platform compatibility by: Compiling Dart code into native machine code (AOT for mobile & desktop, JS for web). Using Skia (an open-source 2D graphics library) for rendering UI instead of native widgets. Adapting UI and behavior using platform-specific checks. Leveraging plugins to access native features when needed. What is meant by: directory, package, library, framework, SDK, IDE? -A directory (or folder) is a container for storing files and subdirectories. A package is a collection of related code, libraries, and dependencies bundled together for reuse. In Flutter, http is a package used for network requests A library is a reusable set of code that provides specific functionality. It can be part of a package. A framework is a collection of libraries, tools, and conventions that helps build applications efficiently. An SDK (Software Development Kit) is a set of tools, libraries, and documentation required to develop applications for a specific platform. Flutter SDK includes the Dart SDK, Flutter tools, and prebuilt widgets. An IDE is a software application that provides code editing, debugging, and project management tools. Example: IntelliJ IDEA, VS Code, and Android Studio. What is a Widget? Give as many examples as you can. -It means the small program that is written to describe what it looks like, how it behaves and how it responds to user actions. On both Apple iOS and Android devices, widgets present specific data that resides in an application running in the device. Each widget on an iPhone or other smartphone display presents selected bits of information that reside in the associated applications. In Flutter a widget is the building block of a Flutter app’s UI. Everything you see on the screen—buttons, text, images, layouts—is a widget in Flutter. Common widgets in Fluttet: Text, Container,Row & Column, Image, ListView, Stack, GridView,Scaffold. What is state? and What is the difference between stateless and stateful widgets? -State refers to any data that can change in a Flutter app during runtime. It can be: A counter value that increases when a button is pressed. A user’s input in a text field. Data fetched from the internet. A StatelessWidget is a widget without state (doesn't change after being built), It uses static UI elements. A StatefullWidget is a widget with state (can change dynamically), It uses interacitve components(buttons,forms,animations).