UIDragThemeData.config constructor

const UIDragThemeData.config({
  1. Color? backgroundColor = Colors.grey,
  2. BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(10)),
  3. double? height = 24,
  4. EdgeInsets? margin = const EdgeInsets.only(top: 10),
  5. BoxConstraints? constraints = const BoxConstraints.tightFor(width: 48, height: 5),
})

Implementation

const UIDragThemeData.config({
  this.backgroundColor = Colors.grey,
  this.borderRadius = const BorderRadius.all(Radius.circular(10)),
  this.height = 24,
  this.margin = const EdgeInsets.only(top: 10),
  this.constraints = const BoxConstraints.tightFor(width: 48, height: 5),
});