easy_pip
Um pacote para o Flutter para construir interfaces Picture-in-Picture
- Estrelas
- 22
- Forks
- 9
- Último push (UTC)
- 11 de nov. de 2021
- Status do projeto
- Ativo
README original
Texto original em inglês. Visite o GitHub para a versão atual.
easy_pip
A widget for creating a Picture-In-Picture interface in Flutter. Note that this is not a plugin for enabling the PIP mode in Android. EasyPIP makes it easy to construct a YouTube like interface in Flutter.
Usage
Import the package
To use this package, add easy_pip as a dependency in your pubspec.yaml
Use the package
import 'package:easy_pip/easy_pip.dart';
The main widget to use is PIPStack.
The PIPStack has three elements:
- Background Widget (Displays behind the pip widget)
- PIP Widget (The widget which shrinks to go into PIP mode)
- PIP Expanded Content (The content below the PIP widget when the widget is expanded)
Important: The pipEnabled field needs to be set to 'true' to make the pipWindow visible.
Note: If the pipExpandedContent field is left blank, the pipWidget will fill the entire screen when expanded.
Taking an analogy of the YouTube app:
The backgroundWidget would be the master list of all videos.
The pipWidget would be the video player which would be shrinkable and expandable.
The pipExpandedContent would be the list of recommended videos.
Getting Started
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.
Categorias
Dependências usadas
Lista de dependências 2 itens
- flutter
{"sdk":"flutter"} - flutter_testDesenvolvimento
{"sdk":"flutter"}
Como escolher um repositório para seu projeto?
Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
- Busque por nome, autor ou descrição e filtre por tema.
- Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
- Confira o README, a licença e as issues no GitHub antes de usar o projeto.
Fontes e manutenção
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
- d3xvn/easy_pip · GitHub ↗
- GitHub Docs — Saving repositories with stars ↗
- Diretório mantido por Ducafecat ↗