clean_framework_http 0.4.0 copy "clean_framework_http: ^0.4.0" to clipboard
clean_framework_http: ^0.4.0 copied to clipboard

External Interface for clean_framework package based on Dio.

example/lib/main.dart

import 'package:clean_framework_http_example/app/clean_framework_http_example_app.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final prefs = await SharedPreferences.getInstance();
  prefs.setString('BASE_URL', 'https://pokeapi.co/api/v2');

  runApp(const CleanFrameworkHttpExampleApp());
}
0
likes
0
points
58
downloads

Publisher

verified publisheracmesoftware.com

Weekly Downloads

External Interface for clean_framework package based on Dio.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

clean_framework, dio, dio_cache_interceptor, flutter

More

Packages that depend on clean_framework_http