toFlutter method
Implementation
@override
FontWeight toFlutter(AnyWidgetContext config) {
return map(
bold: (_) => FontWeight.bold,
normal: (_) => FontWeight.normal,
w100: (_) => FontWeight.w100,
w200: (_) => FontWeight.w200,
w300: (_) => FontWeight.w300,
w400: (_) => FontWeight.w400,
w500: (_) => FontWeight.w500,
w600: (_) => FontWeight.w600,
w700: (_) => FontWeight.w700,
w800: (_) => FontWeight.w800,
w900: (_) => FontWeight.w900,
);
}