20 lines
479 B
Dart
20 lines
479 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
import '../../../constants/constant.dart';
|
|
|
|
class HiddingselButton extends StatelessWidget {
|
|
final String text;
|
|
final VoidCallback onPressed;
|
|
|
|
HiddingselButton(this.text, this.onPressed, {Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) => GestureDetector(
|
|
child: Text(
|
|
text.toUpperCase(),
|
|
style: UITheme.theme.textTheme.headlineSmall,
|
|
),
|
|
onTap: onPressed,
|
|
);
|
|
}
|