sizeDirective property

RegExp sizeDirective
final

A regular expression that matches against the "size directive" path segment of Google profile image URLs.

The format is is "/sNN-c/", where NN is the max width/height of the image, and "c" indicates we want the image cropped.

Implementation

static final RegExp sizeDirective = RegExp(r'^s[0-9]{1,5}(-c)?$');