We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flutter version: 3.24.4 super_context_menu version: 0.8.24
import 'package:flutter/material.dart'; import 'package:super_context_menu/super_context_menu.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatefulWidget { const MyApp({super.key}); @override State<MyApp> createState() => _MyAppState(); } class _MyAppState extends State<MyApp> { @override Widget build(BuildContext context) { return MaterialApp( home: Builder(builder: (context) { return Scaffold( appBar: AppBar( title: const Text('Page A'), ), backgroundColor: Colors.blueAccent, body: Center( child: MaterialButton( onPressed: () { Navigator.of(context).push( MaterialPageRoute( builder: (context) => Scaffold( appBar: AppBar( title: const Text('Page B'), ), backgroundColor: Colors.amberAccent, body: Center( child: ContextMenuWidget( child: Container(child: Text('Base Context Menu')), menuProvider: (_) { return Menu( children: [ MenuAction( title: 'Menu Item 1', callback: () {}), MenuAction( title: 'Menu Item 2', callback: () {}), MenuAction( title: 'Menu Item 3', callback: () {}), ], ); }, ), ), ), ), ); }, child: const Text('Next')), ), ); }), ); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
flutter version: 3.24.4
super_context_menu version: 0.8.24
Code sample
Video
2025-01-07-17-16-06.mp4
The text was updated successfully, but these errors were encountered: