notch 1.0.0 copy "notch: ^1.0.0" to clipboard
notch: ^1.0.0 copied to clipboard

Detect the position and shape of the device's camera cutout (notch, hole-punch, Dynamic Island) and use it as the origin of overlays and animations. Android and iOS.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add notch

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  notch: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:notch/notch.dart';
2
likes
160
points
11
downloads

Documentation

API reference

Publisher

verified publishermehuldadlani.dev

Weekly Downloads

Detect the position and shape of the device's camera cutout (notch, hole-punch, Dynamic Island) and use it as the origin of overlays and animations. Android and iOS.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on notch

Packages that implement notch