This commit is contained in:
gg12 darfren 2024-10-02 13:07:16 +04:00
parent 41b475ed64
commit 04ac1e413e

View File

@ -18,7 +18,7 @@ class MyHomePage extends StatefulWidget {
@override
State<MyHomePage> createState() => _MyHomePageState();
}
//
void _showSnackBar(BuildContext context, String title, bool isLiked) {
WidgetsBinding.instance.addPostFrameCallback((_) {
ScaffoldMessenger.of(context).showSnackBar(SnackBar(