ComponentState.center constructor
ComponentState.center({})
Implementation
factory ComponentState.center({
required Widget child,
String? markdown,
String? codeSample,
required String stateName,
}) =>
ComponentState(
builder: (_, __) => Center(child: child),
markdown: markdown,
stateName: stateName,
codeSample: codeSample,
);