small static method

TextStyle small(
  1. BuildContext context, {
  2. Color? textColor,
})

Implementation

static TextStyle small(BuildContext context, {Color? textColor}) {
  return TextStyle(
    fontFamily: 'Poppins',
    package: 'shared_component',
    fontSize: FontSizes.small,
    color: textColor ?? Theme.of(context).textTheme.bodyLarge?.color,
  );
}