flutter_drawable_mipmap 1.1.1 copy "flutter_drawable_mipmap: ^1.1.1" to clipboard
flutter_drawable_mipmap: ^1.1.1 copied to clipboard

PlatformAndroid

Flutter plugin that provides custom widget to show drawable and mipmap from android.

Flutter Drawable Mipmap #

Flutter plugin to show drawable and mipmap from Android.

Getting Started #

  1. Installation Guide
  2. Example

Usage Guide #

Use this widget to show drawable in Flutter app

Drawable("name")

Use this widget to show mipmap in Flutter app

Mipmap("name")

Accessing Drawable or Mipmap as Uint8List

If you prefer accessing mipmap or drawable resources as memory (Uint8List) rather than as widgets, allowing you to create custom widgets or perform other operations with the image data, you can use this method.

Uint8List? image = await FlutterDrawableMipmap.drawableMipmap(
  "drawable_or_mipmap_name_without_R.id",
  Is_drawable, // true if drawable, false if mipmap
)

I'm always working on making improvements. If you have any feedback, issues, or suggestions, feel free to reach out. Happy coding!

0
likes
160
pub points
57%
popularity

Publisher

verified publishersharmadhiraj.com

Flutter plugin that provides custom widget to show drawable and mipmap from android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_drawable_mipmap