You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
561B

  1. import 'package:flutter/material.dart';
  2. import '../../../themes/app_colors.dart';
  3. import '../../../themes/styles_text.dart';
  4. class GhostButtonWidget extends StatelessWidget {
  5. final String title;
  6. final Function() onPressed;
  7. const GhostButtonWidget({
  8. required this.title,
  9. required this.onPressed,
  10. });
  11. @override
  12. Widget build(BuildContext context) {
  13. return InkWell(
  14. onTap: onPressed,
  15. child: Text(
  16. title,
  17. style: StylesText.caption2.copyWith(
  18. color: AppColors.primary1,
  19. ),
  20. ),
  21. );
  22. }
  23. }