code constant

LintCode const code

do_not_use_stateful_builder

Implementation

static const code = LintCode(
  'do_not_use_stateful_builder',
  'StatefulBuilder usage indicates this widget should be encapsulated.',
  correctionMessage: 'Create a standalone StatefulWidget class.',
);