decorationINToNone method

DecorationImage decorationINToNone (
  1. {AlignmentGeometry alignment = Alignment.center,
  2. Rect centerSlice,
  3. ColorFilter colorFilter,
  4. bool matchTextDirection = false,
  5. BoxFit fit = BoxFit.none,
  6. ImageRepeat repeat = ImageRepeat.noRepeat}
)

Implementation

DecorationImage decorationINToNone(
    {AlignmentGeometry alignment = Alignment.center,
    Rect centerSlice,
    ColorFilter colorFilter,
    bool matchTextDirection = false,
    BoxFit fit = BoxFit.none,
    ImageRepeat repeat = ImageRepeat.noRepeat}) {
  return DecorationImage(
      alignment: alignment,
      centerSlice: centerSlice,
      colorFilter: colorFilter,
      matchTextDirection: matchTextDirection,
      repeat: repeat,
      fit: fit,
      image: NetworkImage(this));
}