secondaryImage method

Image secondaryImage()

Returns secondary image for the proper mode.

Implementation

Image secondaryImage() {
  return palette.brightness() == Brightness.light
      ? resourceValues.lightMode!.secondaryImage!
      : resourceValues.darkMode!.secondaryImage!;
}