BookingApp / lib /widgets /double_text_widget.dart
KaburaJ's picture
Upload 100 files
75d6016
raw
history blame contribute delete
No virus
671 Bytes
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);
@override
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,
),
)
]);
}
}