DescriptionText constructor

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

Implementation

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