项目作者: Tecode

项目描述 :
Flutter视频播放,自适应高度轮播图,视频作为背景的登录页面
高级语言: Dart
项目地址: git://github.com/Tecode/flutter_widget.git
创建时间: 2019-08-03T09:17:39Z
项目社区:https://github.com/Tecode/flutter_widget

开源协议:

关键词:
"flutter" "swipe"

下载


Flutter 小案例(flutter_widget)

扫码下载



Flutter版本(要注意版本比如1.20.4的版本跑iOS会报找不到引擎)

  1. Flutter 1.20.4 channel stable https://github.com/flutter/flutter.git
  2. Framework revision fba99f6cf9 (6 days ago) 2020-09-14 15:32:52 -0700
  3. Engine revision d1bc06f032
  4. Tools Dart 2.9.2

视频背景登录(IOS播放请使用真机调试)



仿马蜂窝自适应高度轮播图



自定义滑动(类似开言英语轮播图)



滑动导航变色



滑动隐藏导航



App状态监听



错误信息

打包IOS程序报错

  1. Warning: CocoaPods installed but not initialized. Skipping pod install.
  2. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
  3. Without CocoaPods, plugins will not work on iOS or macOS.
  4. For more info, see https://flutter.dev/platform-plugins
  5. To initialize CocoaPods, run:
  6. pod setup
  7. once to finalize CocoaPods' installation.

M1芯片Podfile报架构问题

  1. # M1芯片
  2. installer.pods_project.build_configurations.each do |config|
  3. config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
  4. end

运行pod setup

  1. pod setup