Spaces:
Configuration error
Configuration error
| import 'package:flutter/material.dart'; | |
| import '../utils/app_styles.dart'; | |
| class AppDoubleTextWidget extends StatelessWidget { | |
| final String bigText; | |
| final String smallText; | |
| const AppDoubleTextWidget( | |
| {Key? key, required this.bigText, required this.smallText}) | |
| : super(key: key); | |
| Widget build(BuildContext context) { | |
| return Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ | |
| Text(bigText, | |
| style: Styles.headLineStyle2.copyWith(color: Color(0xfff4f0f0))), | |
| InkWell( | |
| onTap: () {}, | |
| child: Text( | |
| smallText, | |
| style: Styles.textStyle, | |
| ), | |
| ) | |
| ]); | |
| } | |
| } | |