flutter_refresh_rate_control 0.0.1
flutter_refresh_rate_control: ^0.0.1 copied to clipboard
A Flutter plugin that allows you to request high refresh rate mode on Android and iOS devices. This plugin provides a simple API to attempt to enable the highest possible refresh rate for your Flutter [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_refresh_rate_controlWith Flutter:
$ flutter pub add flutter_refresh_rate_controlThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_refresh_rate_control: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_refresh_rate_control/flutter_refresh_rate_control.dart';