mirrored_repositories/bmi_calculator_by_flutter/lib
import 'package:flutter/material.dart';
import 'constant.dart';


class IconContent extends StatelessWidget {
  IconContent({this.icon,this.text});
  final IconData icon;
  final String text;

  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: <Widget>[
        Icon(icon, size: 80.0,color: iconColor,),
        SizedBox(height: 15.0,),
        Text(text,style: kLabelTextStyle,),
      ],
    );
  }
}