youtubeIconWidget static method

dynamic youtubeIconWidget({
  1. double horizontal = 5,
  2. double vertical = 10,
})

Implementation

static youtubeIconWidget({double horizontal = 5, double vertical = 10}) {
  return Container(
      //height: 15,width: 15,
      margin:
          EdgeInsets.symmetric(horizontal: horizontal, vertical: vertical),
      decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(5.0),
          color: ColorResources.getColorOrSetPrimaryColor()),
      child: const Icon(
        Icons.play_arrow,
        color: Colors.white,
      ));
}