# flutter_module **Repository Path**: NiuDong/flutter_module ## Basic Information - **Project Name**: flutter_module - **Description**: app flutter 三端分离工程 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-12-20 - **Last Updated**: 2023-07-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # flutter_module A new Flutter project. ## Getting Started For help getting started with Flutter development, view the online [documentation](https://flutter.dev/). For instructions integrating Flutter modules to your existing applications, see the [add-to-app documentation](https://flutter.dev/docs/development/add-to-app). ### https://flutter.dev/go/build-aar https://github.com/alibaba/flutter_boost/blob/master/docs/install.md Consuming the Module 1. Open /app/build.gradle 2. Ensure you have the repositories configured, otherwise add them: String storageUrl = System.env.FLUTTER_STORAGE_BASE_URL ?: "https://storage.googleapis.com" repositories { maven { url '/Users/zyb/Desktop/work/flutter_module/build/host/outputs/repo' } maven { url "$storageUrl/download.flutter.io" } } 3. Make the host app depend on the Flutter module: dependencies { debugImplementation 'com.niudong.flutter_module.flutter_module:flutter:1.0:debug' profileImplementation 'com.niudong.flutter_module.flutter_module:flutter:1.0:profile' releaseImplementation 'com.niudong.flutter_module.flutter_module:flutter:1.0:release' } 4. Add the `profile` build type: android { buildTypes { profile { initWith debug } } }