Skip to content

Commit

Permalink
Flutter 3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ivk1800 committed May 13, 2023
1 parent 4e16923 commit 0ca33f4
Show file tree
Hide file tree
Showing 151 changed files with 269 additions and 255 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Work in progress! Some code needs refactoring as it was written in haste. Somewh

<img src='res/telegram_picture.png' width='800'>

Preferred flutter version: `stable, 3.7.6`
Preferred flutter version: `stable, 3.10.0`

[TdLib](https://github.com/tdlib/td) version: `1.8.4` `d489014`
[TdLib](https://github.com/tdlib/td) version: `1.8.11` `1543c41`

### Supported platform
|Platform| Status|
Expand Down
4 changes: 2 additions & 2 deletions app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: app
publish_to: 'none'

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

dependencies:
app_controller:
Expand Down Expand Up @@ -188,7 +188,7 @@ dependencies:
path: ../feature/theme/theme_manager_flutter

dev_dependencies:
build_runner: 2.3.2
build_runner: 2.3.3
dependency_validator: 3.2.0
jugger_generator: 3.1.1
tg_lint_rules:
Expand Down
4 changes: 2 additions & 2 deletions async_utils/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: async_utils
publish_to: 'none'

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

dependencies:
async: 2.8.2
async: 2.11.0

dev_dependencies:
dependency_validator: 3.2.0
Expand Down
2 changes: 1 addition & 1 deletion block_interaction_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: block_interaction_api
publish_to: 'none'

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

dev_dependencies:
dependency_validator: 3.2.0
Expand Down
8 changes: 4 additions & 4 deletions component/app_controller/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: app_controller
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"
flutter: ^3.0.0

dependencies:
Expand All @@ -17,10 +17,10 @@ dependencies:
path: ../../td/td_api

dev_dependencies:
build_runner: 2.3.2
build_runner: 2.3.3
dependency_validator: 3.2.0
mockito: 5.3.2
test: 1.22.0
mockito: 5.4.0
test: 1.24.0
test_utils:
path: ../../test_utils
tg_lint_rules:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*
// TODO restore tests
// @dart=2.9
import 'package:app_controller/src/app_lifecycle_state_delegate.dart';
Expand Down Expand Up @@ -33,3 +35,4 @@ void main() {
verify(mockIAppLifecycleStateProvider.onStateChange).called(1);
});
}
*/
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @dart=2.9
/*
// @dart=2.9
// TODO restore tests
// todo fix tests
import 'package:app_controller/app_controller.dart';
import 'package:app_controller/src/authorization_state_delegate.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @dart=2.9
/*
// @dart=2.9
// TODO restore tests
// todo fix tests
import 'package:app_controller/src/connectivity_delegate.dart';
import 'package:core/core.dart';
Expand Down
2 changes: 1 addition & 1 deletion component/auth_manager/auth_manager_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: auth_manager_api
publish_to: 'none'

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

dependencies:
td_api:
Expand Down
2 changes: 1 addition & 1 deletion component/auth_manager/auth_manager_impl/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: auth_manager_impl
publish_to: 'none'

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

dependencies:
auth_manager_api:
Expand Down
4 changes: 2 additions & 2 deletions component/link_resolver/link_resolver_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: link_resolver_api
publish_to: 'none'

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

dependencies:
freezed_annotation: 2.2.0

dev_dependencies:
build_runner: 2.3.2
build_runner: 2.3.3
dependency_validator: 3.2.0
freezed: 2.2.1
tg_lint_rules:
Expand Down
4 changes: 2 additions & 2 deletions component/link_resolver/link_resolver_impl/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: link_resolver_impl
publish_to: 'none'

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

dependencies:
link_resolver_api:
path: ../link_resolver_api

dev_dependencies:
dependency_validator: 3.2.0
test: 1.22.0
test: 1.24.0
tg_lint_rules:
path: ../../../tg_lint_rules
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*
// TODO restore tests
// @dart=2.9
import 'package:link_resolver_api/src/resolve_result.dart';
Expand All @@ -22,3 +24,4 @@ void main() {
});
});
}
*/
2 changes: 1 addition & 1 deletion core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: core
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"
flutter: ^3.0.0

dependencies:
Expand Down
4 changes: 2 additions & 2 deletions core_arch/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: core_arch
publish_to: 'none'

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

dependencies:
async: 2.8.2
async: 2.11.0
async_utils:
path: ../async_utils

Expand Down
2 changes: 1 addition & 1 deletion core_arch_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: core_arch_flutter
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"
flutter: ^3.0.0

dependencies:
Expand Down
4 changes: 2 additions & 2 deletions core_presentation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: core_presentation
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"
flutter: ^3.0.0

dependencies:
Expand All @@ -17,7 +17,7 @@ dependencies:
path: ../td/td_api

dev_dependencies:
build_runner: 2.3.2
build_runner: 2.3.3
dependency_validator: 3.2.0
freezed: 2.2.1
tg_lint_rules:
Expand Down
2 changes: 1 addition & 1 deletion core_tdlib_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: core_tdlib_api
publish_to: 'none'

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

dependencies:
td_api:
Expand Down
2 changes: 1 addition & 1 deletion core_tdlib_impl/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: core_tdlib_impl
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"
flutter: ^3.0.0

dependencies:
Expand Down
4 changes: 2 additions & 2 deletions core_ui_jugger/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: core_ui_jugger
publish_to: 'none'

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

dependencies:
core_tdlib_api:
Expand All @@ -14,7 +14,7 @@ dependencies:
jugger: 3.0.0

dev_dependencies:
build_runner: 2.3.2
build_runner: 2.3.3
dependency_validator: 3.2.0
jugger_generator: 3.1.1
tg_lint_rules:
Expand Down
2 changes: 1 addition & 1 deletion core_utils/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: core_utils
publish_to: 'none'

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

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions coreui/lib/src/avatar/avatar_widget_factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import 'package:core_presentation/core_presentation.dart';
import 'package:coreui/src/avatar/avatar_view_model.dart';
import 'package:feature_file_api/feature_file_api.dart';
import 'package:flutter/material.dart';
import 'package:fwg_annotation/fwg_annotation.dart';
import 'package:fwg_annotation/fwg_annotation.dart' as fwg;

import 'avatar.dart' as aw;
import 'avatar_scope.dart';

part 'avatar_widget_factory.fwg.dart';

@widgetFactory
@fwg.widgetFactory
class AvatarWidgetFactory {
AvatarWidgetFactory({
required IFileDownloader fileDownloader,
Expand Down
8 changes: 4 additions & 4 deletions coreui/lib/src/tg_switched_app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import 'package:flutter/material.dart';

typedef AppBarBuilder = Widget Function(
AnimationController animationController,
BuildContext context,
bool isActive,
);
BuildContext context, {
required bool isActive,
});

class TgSwitchedAppBar extends StatefulWidget implements PreferredSizeWidget {
TgSwitchedAppBar({
Expand Down Expand Up @@ -66,7 +66,7 @@ class TgSwitchedAppBarState extends State<TgSwitchedAppBar>
);
},
child: widget.appBarBuilder!
.call(_animationController, context, _isActive),
.call(_animationController, context, isActive: _isActive),
),
);
}
Expand Down
4 changes: 2 additions & 2 deletions coreui/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: coreui
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"
flutter: ^3.0.0

dependencies:
Expand All @@ -26,7 +26,7 @@ dependencies:
path: ../td/td_api

dev_dependencies:
build_runner: 2.3.2
build_runner: 2.3.3
dependency_validator: 3.2.0
factory_widget_generator:
path: ../factory_widget_generator/generator
Expand Down
2 changes: 1 addition & 1 deletion dependencies_module_generator/dmg_annotation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: dmg_annotation
publish_to: 'none'

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

dev_dependencies:
dependency_validator: 3.2.0
Expand Down
6 changes: 3 additions & 3 deletions dependencies_module_generator/generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: dependencies_module_generator
homepage: https://github.com/ivk1800/jugger.dart

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

dependencies:
analyzer: 5.2.0
analyzer: 5.12.0
build: 2.3.1
code_builder: 4.3.0
code_builder: 4.4.0
dmg_annotation:
path: ../dmg_annotation
source_gen: 1.2.6
Expand Down
4 changes: 2 additions & 2 deletions dialog_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: dialog_api
publish_to: 'none'

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

dependencies:
freezed_annotation: 2.2.0

dev_dependencies:
build_runner: 2.3.2
build_runner: 2.3.3
dependency_validator: 3.2.0
freezed: 2.2.1
tg_lint_rules:
Expand Down
2 changes: 1 addition & 1 deletion dialog_api_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: dialog_api_flutter
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"
flutter: ^3.0.0

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion error_transformer_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: error_transformer_api
publish_to: 'none'

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


dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion error_transformer_td/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: error_transformer_td
publish_to: 'none'

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

dependencies:
error_transformer_api:
Expand Down
2 changes: 1 addition & 1 deletion factory_widget_generator/annotation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: fwg_annotation
publish_to: 'none'

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

dev_dependencies:
dependency_validator: 3.2.0
Expand Down
Loading

0 comments on commit 0ca33f4

Please sign in to comment.