update static method

void update(
  1. BuildContext context,
  2. FlyThemeData updater(
    1. FlyThemeData current
    )
)

Update the theme using a function

Implementation

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