Skip to content
pubscout

touch_indicator

2.0.0, released 5 years ago by klingeleers.be

Show touch indicators on the screen for screencasts and app demos.

WASM-ready
$ flutter pub add touch_indicator
Source repository

What it does

Shows up to 5 touch indicators where you touch the screen. It wraps around your app or routes to display visual indicators that are fully customizable.

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

Use it when

  • Recording a screencast or video demo of your Flutter app
  • Presenting your app live to an audience

Skip it when

  • Building standard production user interfaces where touch ripples are not needed
  • Targeting platforms where touch indicators are unnecessary

Strengths

  • Easy to integrate by wrapping the MaterialApp builder
  • Supports customization of color, size, and custom indicator widgets
  • Works across multiple platforms including Android, iOS, and web

Weaknesses

  • Limited to a maximum of 5 touch indicators
  • Not intended for core functional app features

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Just add the dependency and wrap your routes or MaterialApp builder in the TouchIndicator widget.

class MyApp extends StatelessWidget {
  MaterialApp(
    title: 'Touch indicator example',
    builder: (context, child) => TouchIndicator(child: child!),
    home: MyHomePage(title: 'Flutter Demo Home Page'),
  );
}

Alternatives

Packages that do the same job and could replace touch_indicator.