android_glide_view library

Android Glide View Plugin

This library provides a Flutter widget that displays images using the Glide image loading library on Android. It offers efficient image loading, caching, and transformation capabilities through a native Android implementation.

The plugin consists of:

  • GlideView: The main widget for displaying images with Glide
  • Platform-specific implementations for Android
  • Method channel communication between Flutter and native code

Key features:

  • Network and local image loading
  • Automatic caching and memory management
  • Image transformations (center crop, fit center)
  • Customizable dimensions
  • Placeholder and error handling

Example usage:

import 'package:android_glide_view/android_glide_view.dart';

GlideView(
  imageUri: 'https://example.com/image.jpg',
  isCenterCrop: true,
  height: 200,
  width: 300,
)

Classes

AndroidGlideView
Main class for the Android Glide View plugin.
GlideView
A Flutter widget that displays images using the Glide image loading library on Android.

Enums

CropType