Skip to content

Flutter视频播放,自适应高度轮播图,视频作为背景的登录页面

Notifications You must be signed in to change notification settings

Tecode/flutter_widget

Repository files navigation

Flutter 小案例(flutter_widget)

扫码下载

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

Flutter 1.20.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fba99f6cf9 (6 days ago) • 2020-09-14 15:32:52 -0700
Engine • revision d1bc06f032
ToolsDart 2.9.2

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

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

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

滑动导航变色

滑动隐藏导航

App状态监听

错误信息

打包IOS程序报错

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

M1芯片Podfile报架构问题

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

运行pod setup

pod setup

About

Flutter视频播放,自适应高度轮播图,视频作为背景的登录页面

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published