Complete Material-only APIs and fixtures
Remove obsolete control-family flags and icon metadata across all callers, dead alternate themes and host helpers, obsolete test setup, and the unused icon-font dependency. Preserve native Material Back transitions. Make navigation fixtures independent of update plugins and answer auxiliary shell snapshots so the complete application suite can run deterministically.
This commit is contained in:
@@ -20,13 +20,11 @@ class ChatAttachmentThumbnail extends StatefulWidget {
|
||||
required this.name,
|
||||
required this.uri,
|
||||
required this.images,
|
||||
required this.cupertino,
|
||||
});
|
||||
|
||||
final String name;
|
||||
final String uri;
|
||||
final ChatAttachmentImages images;
|
||||
final bool cupertino;
|
||||
|
||||
@override
|
||||
State<ChatAttachmentThumbnail> createState() =>
|
||||
@@ -121,12 +119,8 @@ class _ChatAttachmentThumbnailState extends State<ChatAttachmentThumbnail> {
|
||||
_placeholder(context, 'Image could not be read'),
|
||||
),
|
||||
);
|
||||
void open() => openChatImageViewer(
|
||||
context,
|
||||
name: widget.name,
|
||||
bytes: bytes,
|
||||
cupertino: widget.cupertino,
|
||||
);
|
||||
void open() =>
|
||||
openChatImageViewer(context, name: widget.name, bytes: bytes);
|
||||
final constrained = ConstrainedBox(
|
||||
constraints: const BoxConstraints(
|
||||
maxWidth: chatThumbnailMaxWidth,
|
||||
|
||||
Reference in New Issue
Block a user