didChangePlatformBrightness method

Action? didChangePlatformBrightness(
  1. Brightness brightness
)

Called when the platform brightness (dark/light mode) changes.

Implementation

Action? didChangePlatformBrightness(Brightness brightness) => null;