platform/platform_background library
Functions
-
wrapSizedWidgetWithBackground(
{Border? border, Color? backgroundColor, PreferredSizeWidget? child, bool updateSystemUiOverlay = false}) → PreferredSizeWidget? -
wrapWithBackground(
{Border? border, Color? backgroundColor, Widget? child, bool updateSystemUiOverlay = false}) → Widget? -
Returns
child
wrapped with background and a bottom border if background color is opaque. Otherwise, also blur with BackdropFilter.