SectionFooter constructor

SectionFooter({
  1. Key? key,
  2. String? text,
  3. Widget? child,
  4. EdgeInsets? padding,
  5. Color? color,
  6. TextStyle? textStyle,
})

Implementation

SectionFooter({
  Key? key,
  this.text,
  this.child,
  EdgeInsets? padding,
  this.color,
  this.textStyle,
})  : assert(
        text != null || child != null,
      ),
      super(key: key) {
  this.padding = padding ??
      EdgeInsets.fromLTRB(
          Section.DEFAULT_CONTENT_PADDING, Section.DEFAULT_CONTENT_PADDING / 2, Section.DEFAULT_CONTENT_PADDING, 0);
}