clean_framework_http 0.4.6 copy "clean_framework_http: ^0.4.6" to clipboard
clean_framework_http: ^0.4.6 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();
  await prefs.setString('BASE_URL', 'https://pokeapi.co/api/v2');

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

Publisher

verified publisheracmesoftware.com

Weekly Downloads

External Interface for clean_framework package based on Dio.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

clean_framework, dio, dio_cache_interceptor, flutter

More

Packages that depend on clean_framework_http