FontConfig.mixed constructor

FontConfig.mixed({
  1. required String ltrGoogle,
  2. required String rtlAsset,
})

LTR from Google Fonts, RTL from a local asset font.

Implementation

factory FontConfig.mixed({
  required String ltrGoogle,
  required String rtlAsset,
}) =>
    FontConfig._(
      ltr: _DirectionFont._(ltrGoogle, _FontSource.google),
      rtl: _DirectionFont._(rtlAsset, _FontSource.asset),
    );