Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/awaik/iphone_has_notch

Dart \ Flutter package that give true if iPhone has notch.
https://github.com/awaik/iphone_has_notch

Last synced: 3 months ago
JSON representation

Dart \ Flutter package that give true if iPhone has notch.

Awesome Lists containing this project

README

        

# iphone_has_notch

A very simple package with one function - returns true if phone is iPhone and it has notch. Package
has no any dependencies and work on any platform.

## Getting Started

Install the package. Use code

```
import 'package:iphone_has_notch/iphone_has_notch.dart';
```

```
Text('This phone is iPhone and it has notch'),
Text('${IphoneHasNotch.hasNotch}'),
```