AvoidStatefulSheetDelegateInBuild constructor
const
AvoidStatefulSheetDelegateInBuild()
Implementation
const AvoidStatefulSheetDelegateInBuild()
: super(
code: const LintCode(
name: 'avoid_delegate_in_build',
problemMessage: 'Avoid creating StatefulSheetDelegate inside a build() method.',
correctionMessage: 'Move the delegate to a final field or outside build().',
),
);