FModalSheetStyle.inherit constructor
FModalSheetStyle.inherit({
- required FColors colors,
Creates a FSheetStyle that inherits its colors from the given FColors.
Implementation
FModalSheetStyle.inherit({required FColors colors})
: this(barrierFilter: (v) => ColorFilter.mode(.lerp(Colors.transparent, colors.barrier, v)!, .srcOver));