fake_notch

Build Status Codecov GitHub Tag Pub Package License

A simple notch plugin for Flutter.

docs

android

Android O 特殊刘海屏适配
华为 - 官网适配方案,在华为"DevEco"上的"麦芒7"适配通过
小米 - 官网适配方案,在"Testin"上的"小米 Play"上适配失败,没有其他机型做适配
Oppo - 官网适配方案,在"Testin"上的"OPPO R17"适配通过
Vivo - 官网适配方案,在"Testin"上的"vivo X21A"适配通过

ios

flutter

  • snapshot
dependencies:
  fake_notch:
    git:
      url: https://github.com/v7lin/fake_notch.git
  • release
dependencies:
  fake_notch: ^${latestTag}
  • example

示例

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Libraries

fake_notch