Steps to Reproduce
Please tell me exactly how to reproduce the problem you are running into.
After importing the necessary documents, the error was called
Code sample
Widget questionTemplate(index, question) {
return Card(
// margin: EdgeInsets.fromLTRB(100, 100, 100, 100),
// child:
// // Padding(
// // padding: const EdgeInsets.all(21.0),
child: Column(
children: [
Padding(
padding: EdgeInsets.fromLTRB(100, 100, 100, 100),
child: Container(
child: AutoSizeText(
question[index].text,
style: TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold,
color: Colors.black,
),
),
),
),
],
),
// ),
);
}
Provide a few simple lines of code to show your problem.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Version**
- Flutter version: [e.g. 1.5.4]
- auto_size_text version: [e.g. 1.2.1]
Steps to Reproduce Please tell me exactly how to reproduce the problem you are running into. After importing the necessary documents, the error was called
Code sample Widget questionTemplate(index, question) { return Card( // margin: EdgeInsets.fromLTRB(100, 100, 100, 100), // child: // // Padding( // // padding: const EdgeInsets.all(21.0), child: Column( children:[
Padding(
padding: EdgeInsets.fromLTRB(100, 100, 100, 100),
child: Container(
child: AutoSizeText(
question[index].text,
style: TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold,
color: Colors.black,
),
),
),
),
],
),
// ),
);
}
Provide a few simple lines of code to show your problem.