mirrored_repositories/Flutter-Onboarding-UI-Concept/lib
import 'package:flutter/cupertino.dart';

class CustomFont extends StatelessWidget {
final inputText, fontSize, fontType;
final fontWeight;

CustomFont({this.inputText, this.fontSize, this.fontType, this.fontWeight});

  @override
  Widget build(BuildContext context) {
    return Text(
      inputText,
      style: TextStyle(
            fontFamily: fontType,
            fontWeight: fontWeight, 
            fontSize: fontSize,
          ),
    );
  }
  
}