kDemoText top-level constant
Center
const kDemoText
Implementation
const kDemoText = Center(
child: Text(
'Child will be here.',
style: TextStyle(
fontSize: 25,
color: Colors.white,
letterSpacing: 2,
),
textAlign: TextAlign.center,
),
);