Skip to content

Commit

Permalink
Merge branch 'fix/app-performance' of https://github.com/Abhisheksain…
Browse files Browse the repository at this point in the history
…ii/flutter into fix/app-performance
  • Loading branch information
Abhisheksainii committed Nov 1, 2023
2 parents 5ebbbe5 + df45bd4 commit d19c305
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
4 changes: 2 additions & 2 deletions lib/widgets/core/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import 'package:wger/screens/form_screen.dart';
import 'package:wger/widgets/core/about.dart';
import 'package:wger/widgets/user/forms.dart';

class MainAppBar extends StatelessWidget with PreferredSizeWidget {
class MainAppBar extends StatelessWidget implements PreferredSizeWidget {
final String _title;

MainAppBar(this._title);
Expand Down Expand Up @@ -113,7 +113,7 @@ class MainAppBar extends StatelessWidget with PreferredSizeWidget {
}

/// App bar that only displays a title
class EmptyAppBar extends StatelessWidget with PreferredSizeWidget {
class EmptyAppBar extends StatelessWidget implements PreferredSizeWidget {
final String _title;

EmptyAppBar(this._title);
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/workouts/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ enum _WorkoutAppBarOptions {
contribute,
}

class WorkoutOverviewAppBar extends StatelessWidget with PreferredSizeWidget {
class WorkoutOverviewAppBar extends StatelessWidget implements PreferredSizeWidget {
@override
Widget build(BuildContext context) {
return AppBar(
Expand Down
5 changes: 4 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.5.6+34

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: ">=2.17.0 <3.0.0"

dependencies:
flutter:
Expand Down Expand Up @@ -60,6 +60,9 @@ dependencies:
fl_chart: ^0.62.0
flutter_zxing: ^1.1.2

dependency_overrides:
intl: any

dev_dependencies:
flutter_test:
sdk: flutter
Expand Down
2 changes: 1 addition & 1 deletion test_driver/screenshot_driver.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:integration_test/integration_test_driver_extended.dart';
Future<void> main() async {
try {
await integrationDriver(
onScreenshot: (String screenshotName, List<int> screenshotBytes) async {
onScreenshot: (String screenshotName, List<int> screenshotBytes, [_]) async {
final File image = await File(screenshotName).create(recursive: true);
image.writeAsBytesSync(screenshotBytes);
return true;
Expand Down

0 comments on commit d19c305

Please sign in to comment.