CustomTextStyleCallback typedef Null safety

CustomTextStyleCallback = TextStyle? Function(TextStyle? baseStyle, Map<String?, String?> attributes)

Implementation

typedef CustomTextStyleCallback = TextStyle? Function(
    TextStyle? baseStyle, Map<String?, String?> attributes);