mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-23 17:11:23 +00:00

* feat: edit property * feat: disable actions if field is primary * feat: remove include time * chore: set title to medium * fix: flutter analyze * chore: update built in text style * chore: update text style * fix: unable to click the calendar day
34 lines
777 B
Dart
34 lines
777 B
Dart
import 'package:flowy_infra_ui/flowy_infra_ui.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
/// Widget for the root/initial pages in the bottom navigation bar.
|
|
class RootPlaceholderScreen extends StatelessWidget {
|
|
/// Creates a RootScreen
|
|
const RootPlaceholderScreen({
|
|
required this.label,
|
|
required this.detailsPath,
|
|
this.secondDetailsPath,
|
|
super.key,
|
|
});
|
|
|
|
/// The label
|
|
final String label;
|
|
|
|
/// The path to the detail page
|
|
final String detailsPath;
|
|
|
|
/// The path to another detail page
|
|
final String? secondDetailsPath;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
centerTitle: true,
|
|
title: FlowyText.medium(label),
|
|
),
|
|
body: const SizedBox.shrink(),
|
|
);
|
|
}
|
|
}
|