border method

Container border({
  1. double width = 2,
  2. Color color = const Color(0xff95d9f1),
})

Implementation

Container border({double width = 2, Color color = const Color(0xff95d9f1)}) {
  return Container(
      decoration: BoxDecoration(
        border: Border.all(width: 2, color: color),
        borderRadius: const BorderRadius.all(
          Radius.circular(30),
        ),
      ),
      child: this);
}