一個基於Flutter + Native混合開發的APP,請求數據均人爲製造。android
目前僅上傳Android版本,iOS暫未上傳
APK下載git
Github地址github
Flutter端web
# 圖片緩存框架
cached_network_image: ^2.0.0
# 瀏覽器框架
webview_flutter: ^0.3.19+9
# 瀑布流框架
flutter_staggered_grid_view: ^0.3.0
# 網絡請求框架
dio: ^3.0.0
# 阿里混合棧框架
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: '1.12.13'
複製代碼
Android端瀏覽器
dependencies {
implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: [])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core-ktx:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
// Android Flutter 混編步驟三
implementation project(':flutter')
// 依賴阿里混合棧框架
implementation project(':flutter_boost')
}
複製代碼