mirrored_repositories/Flutter-Delivery-App/lib
import 'package:flutter/cupertino.dart';
import 'package:meli_melo/widgets/small_text.dart';

import '../utils/dimensions.dart';

class IconAndTextWidget extends StatelessWidget {
  final IconData icon;
  final String text;
  final Color iconColor;
  const IconAndTextWidget({ Key? key ,
  required this.icon,
  required this.text,
  
  required this.iconColor }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Row(
      
      children: [
        Icon(icon, color:iconColor,size: Dimensions.iconSize24, ),
        SizedBox(width: 5,),
        SmallText(text: text),       
      ]
      
    );
  }
}