Skip to content
pubscout

pip_view

0.9.7, released 4 years ago by an unverified publisher

Widget that presents a view below a movable floating widget.

WASM-readyRepository archived
$ flutter pub add pip_view
Source repository

What it does

Provides a floating widget that can be dragged to screen corners and lets you present another widget underneath it. The floating view can avoid the keyboard and its size can be configured.

AI-written summary of version 0.9.7, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a picture‑in‑picture style overlay in your UI
  • You want a simple way to show content below a draggable floating widget

Skip it when

  • You require complex multi‑window management or platform‑specific video pipelines
  • You need extensive customization beyond the provided corner‑stick behavior

Strengths

  • Very small, only depends on flutter
  • Supports drag‑to‑corner and keyboard avoidance
  • Declarative RawPIPView API added

Weaknesses

  • Limited styling and animation options
  • No built‑in support for multiple floating windows

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
PIPView(
  builder: (context, isFloating) => Scaffold(
    body: Column(
      children: [
        Text('This is the screen that will float!'),
        MaterialButton(
          child: Text('Start floating'),
          onPressed: () => PIPView.of(context).presentBelow(MyBackgroundScreen()),
        ),
      ],
    ),
  ),
);

Alternatives

Packages that do the same job and could replace pip_view.