build method

  1. @override
Widget build(
  1. Context context
)
override

Implementation

@override
Widget build(Context context) {
  return Container(
      margin: margin,
      padding: padding,
      decoration: decoration,
      child: Row(
        mainAxisSize: MainAxisSize.max,
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: <Widget>[
          leading ?? SizedBox(),
          title ?? SizedBox(),
          trailing ?? SizedBox(),
        ],
      ));
}