AnimationKeyRule constructor

const AnimationKeyRule()

Creates a new instance of AnimationKeyRule

Implementation

const AnimationKeyRule()
    : super(
        code: const LintCode(
          name: 'animation_key',
          problemMessage: 'Animations should have keys to prevent flickering',
          correctionMessage:
              'Add a key to help Flutter correctly identify this widget during animations',
        ),
      );