MethodChannelAndroidGlideView class

An implementation of AndroidGlideViewPlatform that uses method channels.

This class provides the Android-specific implementation of the Android Glide View plugin using Flutter's method channel system for communication between Flutter and native Android code.

The method channel serves as a bridge that allows:

  • Flutter to invoke native Android methods
  • Android to send data back to Flutter
  • Asynchronous communication between platforms
  • Type-safe parameter passing

Key responsibilities:

  • Establishing the method channel connection
  • Handling method calls from Flutter to Android
  • Managing the lifecycle of the channel connection
  • Providing a testing-friendly interface

Note: Currently, this implementation primarily serves as a foundation for future method-based functionality. The main image loading is handled through platform views.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited