modify readme
This commit is contained in:
parent
94315b6b55
commit
d8390c563f
82
README.md
82
README.md
@ -1,16 +1,80 @@
|
||||
# all_tutorial
|
||||
# Flutter Basic Tutorial
|
||||
|
||||
A new Flutter project.
|
||||
A Flutter tutorial project demonstrating fundamental Flutter concepts and widgets.
|
||||
|
||||
## Features
|
||||
|
||||
- **Login System**: Simple authentication with username/password validation
|
||||
- **Navigation**: Page routing between different screens
|
||||
- **Drawer Menu**: Side navigation drawer with multiple options
|
||||
- **ListView**: Dynamic list display with interactive items
|
||||
|
||||
## Screens
|
||||
|
||||
### Login Page
|
||||
- Username and password input fields
|
||||
- Form validation
|
||||
- Error handling with dialog boxes
|
||||
- Navigation to home page on successful login
|
||||
|
||||
### Home Page
|
||||
- Basic layout with AppBar
|
||||
- Drawer navigation menu
|
||||
- Welcome message display
|
||||
|
||||
### ListView Page
|
||||
- Dynamic list generation
|
||||
- Interactive list items with tap feedback
|
||||
- SnackBar notifications
|
||||
|
||||
## Getting Started
|
||||
|
||||
This project is a starting point for a Flutter application.
|
||||
1. **Clone the repository**
|
||||
```
|
||||
git clone <repository-url>
|
||||
```
|
||||
|
||||
A few resources to get you started if this is your first Flutter project:
|
||||
2. **Install dependencies**
|
||||
```
|
||||
flutter pub get
|
||||
```
|
||||
|
||||
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
|
||||
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
|
||||
3. **Run the app**
|
||||
```
|
||||
flutter run
|
||||
```
|
||||
|
||||
For help getting started with Flutter development, view the
|
||||
[online documentation](https://docs.flutter.dev/), which offers tutorials,
|
||||
samples, guidance on mobile development, and a full API reference.
|
||||
## Login Credentials
|
||||
|
||||
For demo purposes:
|
||||
- Username: `admin`
|
||||
- Password: `admin`
|
||||
|
||||
## Project Structure
|
||||
|
||||
- `lib/main.dart` - Entry point of the application
|
||||
- `lib/loginPage.dart` - Login screen implementation
|
||||
- `lib/homePage.dart` - Home screen with drawer
|
||||
- `lib/drawerPage.dart` - Drawer menu implementation
|
||||
- `lib/listViewPage.dart` - ListView example implementation
|
||||
|
||||
## What You'll Learn
|
||||
|
||||
- Creating stateful and stateless widgets
|
||||
- Form handling and validation
|
||||
- Navigation between screens
|
||||
- Working with ListView
|
||||
- Implementing drawer navigation
|
||||
- Using SnackBar for user feedback
|
||||
- Basic state management
|
||||
|
||||
## Dependencies
|
||||
|
||||
- Flutter SDK
|
||||
- Material Design components
|
||||
|
||||
## Resources
|
||||
|
||||
- [Flutter Documentation](https://docs.flutter.dev/)
|
||||
- [Dart Programming Language](https://dart.dev/)
|
||||
- [Material Design](https://material.io/design)
|
Loading…
Reference in New Issue
Block a user