Input widgets in Flutter are used to capture user input from various sources like text, numbers, dates, options, etc. These widgets allow users to interact with your app, making it powerful and functional. and where Checkbox widget allows a condition to toggle between True/False states by checking a checkbox.
- Visit the official Flutter site "https://docs.flutter.dev/get-started/install"
- Extract the downloaded file, e.g., C:\src\flutter.
- Add the flutter/bin directory to your system's 'PATH' (Settings are : Open Control Panel > System and Security > System > Advanced system settings > Environment Variables > System variables section, find the Path )
flutter doctor
(Run Flutter Doctor)
- Extract the folder copy it to desired location
- Move into the folder open Command prompt
- Run
flutter run
flutter create my_flutter_app
(project name could be anything) (Installation and setup )- cd my_flutter_app (navigate to the project)
flutter run
(Run the project)- Paste the files of the project into new setup just by coping.
You can get an idea how to use Input and Checkbox Widgets in your project.