widgetWithIcon method

Widget widgetWithIcon()

Implementation

Widget widgetWithIcon() {
  return Row(
    mainAxisSize: MainAxisSize.min,
    children: [
      // Text('Why this Ad?', style: TextStyle(fontSize: 12)), // <-- Text
      Text(
        text, style: TextStyle(fontSize: size, color: Colors.black), textAlign: TextAlign.center,
      ),
      const SizedBox(
        width: 5,
      ),
      const ImageIcon(
        AssetImage("packages/doceree_ads/assets/appimages/info.png"),
        color: Color(0xff6C40F7),
        size: 12,
      ),
    ],
  );
}