UpdateCard constructor

const UpdateCard({
  1. Key? key,
  2. DesktopUpdaterController? controller,
  3. EdgeInsetsGeometry margin = const EdgeInsets.symmetric(horizontal: 16),
})

Creates an update card.

When controller is omitted, the card reads the nearest DesktopUpdaterInheritedNotifier.

Implementation

const UpdateCard({
  super.key,
  this.controller,
  this.margin = const EdgeInsets.symmetric(horizontal: 16),
});