refactor: Remove AppTitleBar widget and its references from various screens
This commit is contained in:
@@ -485,20 +485,17 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
|
||||
return LayoutBuilder(
|
||||
builder: (BuildContext context, BoxConstraints constraints) {
|
||||
final double maxWidth = math.min(constraints.maxWidth - 32, 600);
|
||||
final double maxHeight = math.min(constraints.maxHeight - 64, 720);
|
||||
final double overlayTop = MediaQuery.paddingOf(context).top + 32;
|
||||
final double maxHeight = math.min(constraints.maxHeight - 32, 720);
|
||||
|
||||
return Stack(
|
||||
children: [
|
||||
Positioned.fill(
|
||||
top: overlayTop,
|
||||
child: ModalBarrier(
|
||||
dismissible: false,
|
||||
color: const Color.fromARGB(54, 0, 0, 0).withValues(alpha: 0.5),
|
||||
),
|
||||
),
|
||||
Positioned.fill(
|
||||
top: overlayTop,
|
||||
child: Center(
|
||||
child: SizedBox(
|
||||
width: maxWidth,
|
||||
|
||||
Reference in New Issue
Block a user