potator 1.0.0
potator: ^1.0.0 copied to clipboard
A simple Flutter client for the potatoes reverse-fetch proxy
Potator #
A simple client for Potatoes reverse-fetch proxy and domain system made in pure Dart and Flutter
Usage #
-
Install potator:
flutter pub add potator -
Import the package:
import 'package:potator/potator.dart'; -
Use it:
Potator.use('YOUR_POTATO_SERVER_URL'); // optional, changes the Potato server final String google = await Potator.get('google.potato/'); // the slash is optional, and can be used to get a specific file, for example: final String hosts = await Potator.get('hosts.potato/HOSTS.txt'); // will return the official HOSTS :)