primaryForeground method

Widget primaryForeground()

Implementation

Widget primaryForeground() {
  return Builder(
    builder: (context) {
      final themeData = Theme.of(context);
      return DefaultTextStyle.merge(
        child: this,
        style: TextStyle(
          color: themeData.colorScheme.primaryForeground,
        ),
      );
    },
  );
}