updateFontWeight static method

void updateFontWeight(
  1. BuildContext context,
  2. FlyFontWeightToken updater(
    1. FlyFontWeightToken current
    )
)

Update font weight token

Implementation

static void updateFontWeight(
  BuildContext context,
  FlyFontWeightToken Function(FlyFontWeightToken current) updater,
) {
  _getNotifier(context)?.updateFontWeight(updater);
}