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

32 lines
691 B
Dart

import 'package:flutter/widgets.dart';
import '../styles.dart';
class OpacityGestureDetector extends StatefulWidget {
final String text;
const OpacityGestureDetector(this.text, {super.key});
@override
State<StatefulWidget> createState() => _OpacityGestureDetectorState();
}
class _OpacityGestureDetectorState extends State<OpacityGestureDetector> {
bool checked = false;
bool animChecked = false;
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return Text(widget.text,
style: const TextStyle(
color: Styles.themeNavTitleColor,
fontWeight: FontWeight.normal
),
);
}
}