Eared constructor

Eared({
  1. Key? key,
  2. Widget? leading,
  3. Widget? trailing,
  4. Decoration? decoration,
  5. EdgeInsets? padding,
  6. EdgeInsets? margin,
  7. required Widget middle,
  8. Color? color,
  9. double? height,
  10. double? width,
})

Implementation

Eared(
    {Key? key,
    this.leading,
    this.trailing,
    this.decoration,
    this.padding,
    this.margin,
    required this.middle,
    this.color,
    this.height,
    this.width})
    : super(
          key: key,
          color: color,
          margin: margin,
          height: height,
          width: width,
          padding: padding,
          decoration: decoration,
          child: Row(children: [leading!, Expanded(child: middle), trailing!]));