DescriptionText.fromChild constructor

const DescriptionText.fromChild(
  1. Widget? child, {
  2. Key? key,
  3. EdgeInsets padding = const EdgeInsets.only(left: 40, right: 40, top: 60),
})

Implementation

const DescriptionText.fromChild(this.child,
    {Key? key,
    this.padding = const EdgeInsets.only(left: 40, right: 40, top: 60)})
    : text = null,
      super(key: key);