LaunchStyle.defaultLinkRow constructor

LaunchStyle.defaultLinkRow(
  1. BuildContext context
)

Factory constant for default styling of a LinkRow.

Uses theme body text color and primary color for icons.

Implementation

factory LaunchStyle.defaultLinkRow(BuildContext context) {
  final theme = Theme.of(context);
  return LaunchStyle(
    textColor: theme.textTheme.bodyLarge?.color,
    iconColor: theme.primaryColor,
    padding: const EdgeInsets.all(12),
    fontSize: 14,
    fontWeight: FontWeight.normal,
  );
}