createContext static method

ReactContext createContext([
  1. dynamic defaultValue,
  2. int calculateChangedBits(
    1. dynamic currentValue,
    2. dynamic nextValue
    )?
])

Implementation

external static ReactContext createContext([
  dynamic defaultValue,
  int Function(dynamic currentValue, dynamic nextValue)? calculateChangedBits,
]);