1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 23:08:59 +00:00
This commit is contained in:
Brett Morgan
2022-05-11 12:48:11 -07:00
committed by GitHub
parent fb00d0a102
commit ccd68f34e2
242 changed files with 1719 additions and 1430 deletions

View File

@@ -47,7 +47,8 @@ class ColorChangingIcon extends ImplicitlyAnimatedWidget {
final double? size;
@override
_ColorChangingIconState createState() => _ColorChangingIconState();
AnimatedWidgetBaseState<ColorChangingIcon> createState() =>
_ColorChangingIconState();
}
class _ColorChangingIconState
@@ -81,12 +82,10 @@ class CloseButton extends StatefulWidget {
final VoidCallback onPressed;
@override
CloseButtonState createState() {
return CloseButtonState();
}
State<CloseButton> createState() => _CloseButtonState();
}
class CloseButtonState extends State<CloseButton> {
class _CloseButtonState extends State<CloseButton> {
bool tapInProgress = false;
@override