addressDetail method

Widget addressDetail(
  1. String hint,
  2. dynamic value
)

Implementation

Widget addressDetail(String hint, value) {
  return Container(
    alignment: Alignment.centerLeft,
    width: MediaQuery.of(context).size.width,
    padding: EdgeInsets.all(8),
    margin: EdgeInsets.only(left: 15, right: 15, bottom: 0),
    decoration: BoxDecoration(
        color: Colors.grey[200], borderRadius: BorderRadius.circular(8)),
    child: Column(
      children: [
        DefaultText(
          colorsText: Colors.grey,
          alignment: Alignment.centerLeft,
          textLabel: hint,
        ),
        DefaultText(
          alignment: Alignment.centerLeft,
          textLabel: value,
        )
      ],
    ),
  );
}