AndroidDrawable class
This class loads different kinds of Android drawables
Constructors
- AndroidDrawable()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadAdaptiveIcon(
{required String name, int scale = 1, DrawableType type = DrawableType.drawable}) → Future< AdaptiveIconDrawable?> -
loadBitmap(
{required String name, DrawableType type = DrawableType.drawable}) → Future< BitmapDrawable?> -
loadColor(
{required String name}) → Future< ColorDrawable?> -
loadVector(
{required String name, DrawableType type = DrawableType.drawable, int scale = 1}) → Future< VectorDrawable?> -
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