selected property
Current Value of the imageTile.
Based on the this value selection of the image can be managed.
If this value is true
Container border will have color from Theme.of(context).primaryColor
else if the value is false
the border color will be Colors.transparent.
Implementation
final bool selected;