mirror of
https://github.com/flutter/samples.git
synced 2026-04-06 03:31:03 +00:00
Enable Material 3 on Animations sample (#1605)
This commit is contained in:
@@ -50,8 +50,7 @@ class _CustomTweenDemoState extends State<CustomTweenDemo>
|
||||
appBar: AppBar(
|
||||
title: const Text('Custom Tween'),
|
||||
actions: [
|
||||
MaterialButton(
|
||||
textColor: Colors.white,
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
if (controller.status == AnimationStatus.completed) {
|
||||
controller.reverse().whenComplete(() {
|
||||
|
||||
Reference in New Issue
Block a user