We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class PuzzlePage extends StatefulWidget {
final int columns; final int rows;
PuzzlePage({int columns = 3, int rows = 3}) : columns = columns ?? 3, rows = rows ?? 3;
@OverRide PuzzleHomeState createState() => PuzzleHomeState(PuzzleAnimator(columns, rows)); }
The text was updated successfully, but these errors were encountered:
just initialise _lastElapsed at the time of declaration i.e like this Duration _lastElapsed=Duration.zero;
Sorry, something went wrong.
No branches or pull requests
class PuzzlePage extends StatefulWidget {
final int columns;
final int rows;
PuzzlePage({int columns = 3, int rows = 3})
: columns = columns ?? 3,
rows = rows ?? 3;
@OverRide
PuzzleHomeState createState() =>
PuzzleHomeState(PuzzleAnimator(columns, rows));
}
The text was updated successfully, but these errors were encountered: