Skip to content
pubscout

find_in_page

2.5.0, released 4 days ago by developeryusuf.com

An in-app find bar that highlights and scrolls to text matches, including lazy-list rows.

WASM-ready
$ flutter pub add find_in_page
Source repository

What it does

Wraps a Flutter page to provide a Ctrl+F style in-app search bar. It automatically discovers rendered text, highlights matches, and scrolls them into view. It also supports lazy lists via specialized adapters.

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

Use it when

  • A long document, release-notes page, or settings screen needs an in-app Ctrl+F.
  • Matches live in a lazily built ListView and off-screen rows must be counted and reachable.

Skip it when

  • Your page is short, fully built, and users only need a search field that filters a list.

Strengths

  • Automatically searches text in widgets you do not own.
  • Supports off-screen items in lazy lists using FindableListView.
  • Intercepts Ctrl+F and Cmd+F across platforms including web.

Weaknesses

  • Matching is plain text and case-insensitive by default with regex currently only planned.
  • Variable height items are unsupported in FindableListView.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:find_in_page/find_in_page.dart';

FindInPageScope(child: MyPage())

Alternatives

Packages that do the same job and could replace find_in_page.

  • marquee_widget

    A Flutter widget that scrolls text and other widgets with RTL support.

  • re_editor

    A lightweight text and code editor widget for Flutter with syntax highlighting and folding.

  • country_picker

    A Flutter widget to pick a country from a list with optional phone code and search.

  • re_highlight

    Powerful text syntax highlighting library translated from highlightjs.