nullableAlwaysUse24HourFormat property

bool? get nullableAlwaysUse24HourFormat

Returns whether to always use the 24-hour format for the nearest MediaQuery ancestor or null if none exists.

Example:

bool? always24Hour = context.nullableAlwaysUse24HourFormat;

Implementation

bool? get nullableAlwaysUse24HourFormat =>
    MediaQuery.maybeAlwaysUse24HourFormatOf(this);