PlatformOverlayTheme constructor

const PlatformOverlayTheme({
  1. Color? backgroundColor,
  2. Color? foregroundColor,
  3. EdgeInsets padding = const EdgeInsets.only(bottom: 10, left: 15, right: 15, top: 10),
  4. double elevation = 2,
})

Implementation

const PlatformOverlayTheme(
    {Color? backgroundColor,
    Color? foregroundColor,
    this.padding =
        const EdgeInsets.only(bottom: 10, left: 15, right: 15, top: 10),
    this.elevation = 2})
    : _backgroundColor = backgroundColor,
      _foregroundColor = foregroundColor;