image_faker 0.1.0 copy "image_faker: ^0.1.0" to clipboard
image_faker: ^0.1.0 copied to clipboard

A library witholding a collection of images for testing purposes.

Image Faker #

Image Faker is a Flutter library designed to generate fake images for testing and development purposes.

Features #

  • Generate random images with customizable dimensions.
  • Support for multiple platforms.
  • Easy integration with Flutter projects.

Getting Started #

Installation #

Add the following dependency to your pubspec.yaml file:

dependencies:
    image_faker: ^0.0.1

Then, run flutter pub get to install the package.

Usage #

Import the package in your Dart code:

import 'package:image_faker/image_faker.dart';

Get a fake image:

String randomShopLogo = ImageFaker.shop.logo.random;

Example #

Here is a simple example of how to use the Image Faker library:

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

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

class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
        return MaterialApp(
            home: Scaffold(
                appBar: AppBar(
                    title: Text('Image Faker Example'),
                ),
                body: Center(
                    child: Image.network(ImageFaker.shop.logo.random),
                ),
            ),
        );
    }
}

Contributing #

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License #

This project is licensed under proprietary license. See the LICENSE file for more information.

Contact #

For any inquiries or support, please contact the project maintainer at info@lumeagency.io.

0
likes
120
points
135
downloads

Publisher

unverified uploader

Weekly Downloads

A library witholding a collection of images for testing purposes.

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on image_faker