LdTagWarning constructor

LdTagWarning({
  1. Key? key,
  2. required Widget child,
  3. LdColorNames? color,
  4. Function? onDismiss,
  5. LdSize size = LdSize.m,
  6. required BuildContext context,
})

Implementation

LdTagWarning({
  Key? key,
  required Widget child,
  LdColorNames? color,
  Function? onDismiss,
  LdSize size = LdSize.m,
  required BuildContext context,
}) : super(
          key: key,
          child: child,
          color: LdTheme.of(context).warning,
          onDismiss: onDismiss,
          size: size);