# transparent_image 2.0.0

A transparent image in Dart code, represented as a Uint8List.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'transparent_image:2.0.0'
```
Published: 2021-03-18T13:10:04.912130Z
Expected archive SHA-256: e566a616922a781489f4d91cc939b1b3203b6e4a093317805f2f82f0bb0f8dec

Available in cache; verification: upstream_checksum
## Direct dependencies

## Package README (untrusted upstream documentation)
# transparent_image

A simple transparent image. Represented as a Uint8List, which was originally
extracted from the Flutter codebase (was private in the test package).

It's a silly, simple library, but I found I needed transparent images in a few
projects and found this is the simplest way to represent it :)

## Usage

This package exports one constant: `kTransparentImage`.

### Image Widget

Displays the transparent image. 

```dart
Image.memory(kTransparentImage);
```

### ImageProvider

```dart
MemoryImage(kTransparentImage);
```

### FadeInImage Widget

A more useful example, and the reason I originally extracted this from the
Flutter codebase!

A [complete
example](https://flutter.dev/docs/cookbook/images/fading-in-images#in-memory)
can be seen on the Flutter website.

```dart
FadeInImage.memoryNetwork(
    placeholder: kTransparentImage,
    image: 'https://picsum.photos/250?image=9',
  ),
);
```

## Contributors

  * Flutter team
  * Brian Egan

## Changelog
# Changelog

## 2.0.0

- Maximum Stability Unlocked.

## 2.0.0-nullsafety.0

- Transparent image is even stronger. It has achieved null safety. Thanks @renefloor!!!

## 1.0.0

- Transparent image is strong. Therefore, 1.0.

## 0.1.0

- It's a transparent image!







 
