mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: open next page when current page get deleted
This commit is contained in:
@ -29,8 +29,13 @@ import 'widgets/toolbar/grid_toolbar.dart';
|
||||
|
||||
class GridPage extends StatefulWidget {
|
||||
final ViewPB view;
|
||||
final VoidCallback? onDeleted;
|
||||
|
||||
GridPage({Key? key, required this.view}) : super(key: ValueKey(view.id));
|
||||
GridPage({
|
||||
required this.view,
|
||||
this.onDeleted,
|
||||
Key? key,
|
||||
}) : super(key: ValueKey(view.id));
|
||||
|
||||
@override
|
||||
State<GridPage> createState() => _GridPageState();
|
||||
|
Reference in New Issue
Block a user