WidgetBackground extension

Background Extension

This extension adds a background widget behind the current widget.

on

Methods

background({required Widget backgroundWidget, AlignmentGeometry alignment = Alignment.center, StackFit fit = StackFit.loose, Clip clipBehavior = Clip.none}) Stack

Available on Widget, provided by the WidgetBackground extension

Adds a background to the widget.