mocktail_image_network 0.0.2-dev.1 copy "mocktail_image_network: ^0.0.2-dev.1" to clipboard
mocktail_image_network: ^0.0.2-dev.1 copied to clipboard

outdated

A Dart package which allows you to mock Image.network in your widget tests with confidence using the mocktail package.

example/lib/main.dart

import 'package:flutter/material.dart';

/// Sample app used to showcase `mocktail_image_network`
class FakeApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Image.network(
            'https://uploads-ssl.webflow.com/5ee12d8d7f840543bde883de/5eec278f49a4916759d679aa_vgv-wordmark-black.svg',
          ),
        ),
      ),
    );
  }
}
50
likes
0
pub points
91%
popularity

Publisher

verified publisherfelangel.dev

A Dart package which allows you to mock Image.network in your widget tests with confidence using the mocktail package.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

mocktail

More

Packages that depend on mocktail_image_network