Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Card faqItem(String question, String answer) {
- return Card(child: ExpansionTile(
- title: Text(question),
- children: <Widget>[
- Align(alignment: Alignment.topLeft, child: Padding(
- padding: EdgeInsets.only(left: screenAwareSize(15.0, 25.0, context), bottom: screenAwareSize(15.0, 25.0, context),),
- child: Text(answer),
- ),)
- ],),);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement