FSheetStyle.inherit constructor

FSheetStyle.inherit({
  1. required FColorScheme colorScheme,
})

Creates a FSheetStyle that inherits its colors from the given FColorScheme.

Implementation

FSheetStyle.inherit({required FColorScheme colorScheme})
    : this(
        barrierColor: colorScheme.barrier,
        backgroundColor: colorScheme.background,
      );