# learn-flutter **Repository Path**: dejks123/learn-flutter ## Basic Information - **Project Name**: learn-flutter - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-07 - **Last Updated**: 2026-06-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # learn1 A Flutter application with video playback and search functionality, supporting both Android and HarmonyOS (OpenHarmony) platforms. ## Features - **Video Playback**: Custom video player component with animation effects - **Search**: Search functionality with hot words suggestions - **Cross-platform**: Supports Android (Flutter) and HarmonyOS (OHOS) - **Modern UI**: Sticky headers and smooth animations ## Project Structure ``` lib/ ├── main.dart # Application entry point ├── appColor.dart # Color theme configuration ├── common/views/ # Reusable UI components │ ├── CommonStickyHeaderDelegate.dart │ ├── OhosVideoPlayer.dart │ └── PlayingBarsAnimation.dart ├── models/ # Data models │ ├── hotWordsModel.dart │ └── searchResDataModel.dart ├── pages/ # Application screens │ ├── homePage.dart │ └── videoDetailPage.dart ├── services/ # Business logic services │ ├── hotWordsService.dart │ ├── http_client.dart │ └── searchService.dart ├── utils/ # Utility functions │ ├── LogUtil.dart │ └── videoClassBlacklist.dart └── mock/ # Mock data └── mock.dart ``` ## Prerequisites - Flutter SDK (latest version recommended) - Dart SDK - For Android development: Android SDK - For HarmonyOS development: DevEco Studio ## Installation 1. Clone the repository: ```bash git clone https://gitee.com/dejks123/learn-flutter.git cd learn-flutter ``` 2. Install dependencies: ```bash flutter pub get ``` 3. Run the application: ```bash flutter run ``` ## Dependencies The project uses typical Flutter packages. Check `pubspec.yaml` for the complete list of dependencies. ## Building ### Android APK ```bash flutter build apk --debug # or release flutter build apk --release ``` ### HarmonyOS HAP ```bash # Build for OHOS using hvigor cd ohos hvigor build ``` ## License This project is for learning purposes.