AvoidSingleChildInMultiChildWidgets constructor
const
AvoidSingleChildInMultiChildWidgets()
Implementation
const AvoidSingleChildInMultiChildWidgets()
: super(
code: const LintCode(
name: 'avoid_single_child_in_multi_child_widgets',
problemMessage: 'Avoid using {0} with a single child.',
correctionMessage:
'Remove the {0} and achieve the same result using dedicated widgets.',
errorSeverity: DiagnosticSeverity.WARNING,
),
);