PreferCenterOverAlign constructor
const
PreferCenterOverAlign()
Implementation
const PreferCenterOverAlign()
: super(
code: const LintCode(
name: 'prefer_center_over_align',
problemMessage:
'Use the Center widget instead of the Align widget with the alignment parameter set to Alignment.center',
),
);