isAverageDark method

bool isAverageDark({
  1. double? threshold,
})

Returns whether the average brightness is considered dark.

Implementation

bool isAverageDark({double? threshold}) =>
    _getDarkness(averageLinearRgb, threshold);