mirror of
https://github.com/stonega/tsacdop
synced 2025-02-17 20:10:37 +01:00
Minor change.
This commit is contained in:
parent
84c3a268dd
commit
55d1a01168
@ -7,7 +7,6 @@ import 'package:flutter/material.dart';
|
||||
import 'package:fluttertoast/fluttertoast.dart';
|
||||
import 'package:focused_menu/focused_menu.dart';
|
||||
import 'package:focused_menu/modals.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:line_icons/line_icons.dart';
|
||||
import 'package:permission_handler/permission_handler.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
@ -44,9 +44,9 @@ class _PodcastManageState extends State<PodcastManage>
|
||||
_menuValue = 0;
|
||||
_index = 0;
|
||||
_menuController = AnimationController(
|
||||
duration: const Duration(milliseconds: 150), vsync: this);
|
||||
vsync: this, duration: const Duration(milliseconds: 150));
|
||||
_controller = AnimationController(
|
||||
duration: const Duration(milliseconds: 500), vsync: this);
|
||||
vsync: this, duration: const Duration(milliseconds: 500));
|
||||
_animation = Tween(begin: 0.0, end: 1.0).animate(_controller)
|
||||
..addListener(() {
|
||||
if (mounted) {
|
||||
|
@ -828,7 +828,7 @@ class __LoginGpodderState extends State<_LoginGpodder> {
|
||||
)
|
||||
: Form(
|
||||
key: _formKey,
|
||||
autovalidate: false,
|
||||
autovalidateMode: AutovalidateMode.disabled,
|
||||
child: AutofillGroup(
|
||||
child: SliverList(
|
||||
delegate: SliverChildListDelegate(
|
||||
|
@ -1534,7 +1534,7 @@ class DropdownButtonFormField<T> extends FormField<T> {
|
||||
onSaved: onSaved,
|
||||
initialValue: value,
|
||||
validator: validator,
|
||||
autovalidate: autovalidate,
|
||||
autovalidateMode: AutovalidateMode.onUserInteraction,
|
||||
builder: (field) {
|
||||
final state = field as _DropdownButtonFormFieldState<T>;
|
||||
final effectiveDecoration = decoration.applyDefaults(
|
||||
|
@ -917,8 +917,8 @@ class _DialState extends State<_Dial> with SingleTickerProviderStateMixin {
|
||||
void initState() {
|
||||
super.initState();
|
||||
_thetaController = AnimationController(
|
||||
duration: _kDialAnimateDuration,
|
||||
vsync: this,
|
||||
duration: _kDialAnimateDuration,
|
||||
);
|
||||
_thetaTween = Tween<double>(begin: _getThetaForTime(widget.selectedTime));
|
||||
_theta = _thetaController
|
||||
|
@ -189,8 +189,8 @@ class _DialState extends State<_Dial> with SingleTickerProviderStateMixin {
|
||||
void initState() {
|
||||
super.initState();
|
||||
_thetaController = AnimationController(
|
||||
duration: _kDialAnimateDuration,
|
||||
vsync: this,
|
||||
duration: _kDialAnimateDuration,
|
||||
);
|
||||
_thetaTween = Tween<double>(begin: _getThetaForDuration(widget.duration));
|
||||
_theta = _thetaTween.animate(
|
||||
|
Loading…
x
Reference in New Issue
Block a user