buildPicture method

Widget buildPicture(
  1. int index,
  2. Picture picture
)

Implementation

Widget buildPicture(int index, Picture picture) => SizedBox(
    height: 100,
    width: 100,
    key: ValueKey(picture),
    child: ReorderableDragStartListener(
        index: index,
        child: Container(
          decoration: BoxDecoration(
              borderRadius: const BorderRadius.all(Radius.circular(20)),
              image: DecorationImage(
                image: AssetImage(picture.urlImage),
                fit: BoxFit.cover,
              )),
        )));