1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Migrate platform_channels to Material 3 (#1623)

* Migrate platform_channels to Material 3

* fix tests

---------

Co-authored-by: Brett Morgan <brettmorgan@google.com>
This commit is contained in:
Miguel Beltran
2023-02-06 04:57:43 +01:00
committed by GitHub
parent aa40931a0c
commit 0f70826a71
4 changed files with 8 additions and 7 deletions

View File

@@ -60,7 +60,7 @@ class _PlatformImageDemoState extends State<PlatformImageDemo> {
const SizedBox(
height: 16,
),
ElevatedButton(
FilledButton(
onPressed: imageData != null
? null
: () {