http_image_provider 0.0.1 copy "http_image_provider: ^0.0.1" to clipboard
http_image_provider: ^0.0.1 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';

const Color darkBlue = Color.fromARGB(255, 18, 32, 47);

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Image(image: HttpImage(Uri.parse('https://http.cat/200'))),
        ),
      ),
    );
  }
}
6
likes
0
pub points
79%
popularity

Publisher

verified publisheruekoetter.dev

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on http_image_provider