mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
20 lines
497 B
Dart
20 lines
497 B
Dart
import 'package:equatable/equatable.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
abstract class HomeStackPage extends StatefulWidget {
|
|
final PageContext pageContext;
|
|
const HomeStackPage({Key? key, required this.pageContext}) : super(key: key);
|
|
}
|
|
|
|
enum PageType {
|
|
blank,
|
|
}
|
|
|
|
List<PageType> pages = PageType.values.toList();
|
|
|
|
abstract class PageContext extends Equatable {
|
|
final PageType pageType;
|
|
final String pageTitle;
|
|
const PageContext(this.pageType, {required this.pageTitle});
|
|
}
|