http_image_provider 1.0.0 copy "http_image_provider: ^1.0.0" to clipboard
http_image_provider: ^1.0.0 copied to clipboard

An image provider which makes use of package:http to instead of dart:io

example/lib/main.dart

import 'package:http_image_provider/http_image_provider.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Image(
            image: HttpImageProvider(Uri.parse('https://http.cat/200')),
          ),
        ),
      ),
    );
  }
}
9
likes
160
points
647
downloads

Publisher

verified publisheruekoetter.dev

Weekly Downloads

An image provider which makes use of package:http to instead of dart:io

Repository (GitHub)
View/report issues

Topics

#cupertino-http #cronet-http #image-provider #http

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, http

More

Packages that depend on http_image_provider