prefersDark property

bool Function() prefersDark
final

Reports whether the OS/browser currently prefers a dark scheme.

Implementation

final bool Function() prefersDark;