appBar: PreferredSize(
preferredSize: Size.fromHeight(330.0),
child: AppBar (
backgroundColor: Color(0xFF1D153B),
title: RichText(
text: TextSpan (
style: DefaultTextStyle.of(context).style,
children: <TextSpan> [
TextSpan (text :'Makan Bang'),
TextSpan (text :'Makan Bang'),
TextSpan (text :'Makan Bang'),
],
),
),
),
The terminal says that "no named parameter with the name 'children'." Is there any other ways for me to add a new line of text beside using the RichText widget?