$new static method

$Value? $new(
  1. Runtime runtime,
  2. $Value? target,
  3. List<$Value?> args
)

Implementation

static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $TextTheme.wrap(TextTheme(
    displayLarge: args[0]?.$value,
    displayMedium: args[1]?.$value,
    displaySmall: args[2]?.$value,
    headlineLarge: args[3]?.$value,
    headlineMedium: args[4]?.$value,
    headlineSmall: args[5]?.$value,
    titleLarge: args[6]?.$value,
    titleMedium: args[7]?.$value,
    titleSmall: args[8]?.$value,
    bodyLarge: args[9]?.$value,
    bodyMedium: args[10]?.$value,
    bodySmall: args[11]?.$value,
    labelLarge: args[12]?.$value,
    labelMedium: args[13]?.$value,
    labelSmall: args[14]?.$value,
  ));
}