Adapt remaining feature popups for desktop

Use the shared anchored choices and bounded details dialogs for diff form and artifact facts while preserving narrow Material sheets. Cover both width branches and dismissal behavior.
This commit is contained in:
2026-11-11 20:57:08 +00:00
parent 551e403d48
commit 2da375ccce
4 changed files with 93 additions and 9 deletions
@@ -2,6 +2,8 @@ import 'dart:typed_data';
import 'package:flutter/material.dart';
import '../../../ui/adaptive/app_popups.dart';
import '../../../ui/adaptive/floating_bar_layout.dart';
import '../actions/artifact_file_actions.dart';
import '../actions/artifact_file_bridge.dart';
@@ -168,9 +170,8 @@ class ArtifactViewerInfoAction extends StatelessWidget {
final Widget facts;
void _show(BuildContext context) {
showModalBottomSheet<void>(
context: context,
showDragHandle: true,
showAppDetails<void>(
context,
builder: (context) => SafeArea(
child: SingleChildScrollView(
padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),