Exercise - 1: Flutter and Dart SDK
- 1b. Write a simple Dart program to understand the basic language.
Exercise - 2:
- 2. a) Explore various Flutter widgets (Text, Image, Container, etc.).
- 2. b) Implement different layout structures using Row, Column, and Stack Widget.
Exercise - 3:
- 3 a) Design a responsive UI that adapts to different screen sizes.
- 3 b) Implement media queries and breakpoints for responsiveness.
Exercise - 4:
- 4 a) Set up navigation between different screens using Navigator.
- 4 b) Implement navigation with named routes.
Exercise - 5:
- 5 a) Learn about stateful and stateless widgets.
1. Stateless Widget
A StatelessWidget is immutable: once it is built, it cannot change its state during runtime.
Used when the UI does not depend on dynamic data (e.g., labels, static layouts).
2. Stateful Widget
A StatefulWidget can change during runtime using setState().
StatelessWidget → UI never changes.
StatefulWidget → UI can change with setState().
Exercise - 6:
- 6 a) Create custom widgets for specific UI elements.
- 6 b) Apply styling using themes and custom styles.
Exercise - 7:
- 7 a) and b) Design a form with various input fields. Implement form validation and error handling