Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/awaik/iphone_has_notch
- Owner: awaik
- License: mit
- Created: 2021-02-11T05:00:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-08T11:39:23.000Z (almost 4 years ago)
- Last Synced: 2024-08-03T14:07:43.987Z (7 months ago)
- Language: Dart
- Size: 587 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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}'),
```