Skip to content

Commit

Permalink
Dependency bumps for devtools_app_shared and devtools_shared (flutter…
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderDake committed Mar 21, 2024
1 parent 3eb9ad9 commit 6f92735
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 40 deletions.
2 changes: 1 addition & 1 deletion packages/devtools_app/lib/src/framework/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class TabOverflowButton extends StatelessWidget {
height: defaultToolbarHeight,
child: MenuItemButton(
style: const ButtonStyle().copyWith(
textStyle: MaterialStateProperty.resolveWith<TextStyle>((_) {
textStyle: WidgetStateProperty.resolveWith<TextStyle>((_) {
return theme.textTheme.titleSmall!;
}),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class _VsCodeFlutterPanelMockEditorState
ElevatedButton(
onPressed: () => api.endSessions(),
style: theme.elevatedButtonTheme.style!.copyWith(
backgroundColor: const MaterialStatePropertyAll(
backgroundColor: const WidgetStatePropertyAll(
Colors.red,
),
),
Expand Down
3 changes: 2 additions & 1 deletion packages/devtools_app_shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ and `darkColorScheme`.
* Rename `Split` to `SplitPane`.
* Add `ServiceManager.serviceUri` field to store the connected VM service URI.
* Update readme to use `pub add` instead of explicit package version.
* Update `package:dtd` to `2.0.0`
* Update `package:dtd` to `^2.0.0`
* Update `package:devtools_shared` to `^8.1.0`

## 0.0.10
* Add `DTDManager` class and export from `service.dart`.
Expand Down
6 changes: 3 additions & 3 deletions packages/devtools_app_shared/lib/src/ui/theme/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ ThemeData _baseTheme({
),
menuButtonTheme: MenuButtonThemeData(
style: ButtonStyle(
textStyle: MaterialStatePropertyAll<TextStyle>(theme.regularTextStyle),
fixedSize: const MaterialStatePropertyAll<Size>(Size.fromHeight(24.0)),
textStyle: WidgetStatePropertyAll<TextStyle>(theme.regularTextStyle),
fixedSize: const WidgetStatePropertyAll<Size>(Size.fromHeight(24.0)),
),
),
dropdownMenuTheme: DropdownMenuThemeData(
Expand Down Expand Up @@ -547,7 +547,7 @@ ButtonStyle _generateButtonStyle({
}) {
if (!isScreenWiderThan(context, minScreenWidthForTextBeforeScaling)) {
buttonStyle = buttonStyle.copyWith(
padding: MaterialStateProperty.resolveWith<EdgeInsets>((_) {
padding: WidgetStateProperty.resolveWith<EdgeInsets>((_) {
return EdgeInsets.zero;
}),
);
Expand Down
58 changes: 29 additions & 29 deletions packages/devtools_app_shared/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ version: 0.1.0
repository: https://github.com/flutter/devtools/tree/master/packages/devtools_app_shared

environment:
sdk: '>=3.3.0-91.0.dev <4.0.0'
flutter: '>=3.17.0-0.0.pre'
sdk: ">=3.3.0-91.0.dev <4.0.0"
flutter: ">=3.17.0-0.0.pre"

dependencies:
collection: ^1.15.0
devtools_shared: ^6.0.1
devtools_shared: ^8.1.0
dtd: ^2.0.0
flutter:
sdk: flutter
Expand All @@ -29,32 +29,32 @@ dev_dependencies:
flutter:
uses-material-design: true
fonts:
- family: Roboto
fonts:
- asset: fonts/Roboto/Roboto-Thin.ttf
weight: 100
- asset: fonts/Roboto/Roboto-Light.ttf
weight: 300
- asset: fonts/Roboto/Roboto-Regular.ttf
weight: 400
- asset: fonts/Roboto/Roboto-Medium.ttf
weight: 500
- asset: fonts/Roboto/Roboto-Bold.ttf
weight: 700
- asset: fonts/Roboto/Roboto-Black.ttf
weight: 900
- family: RobotoMono
fonts:
- asset: fonts/Roboto_Mono/RobotoMono-Thin.ttf
weight: 100
- asset: fonts/Roboto_Mono/RobotoMono-Light.ttf
weight: 300
- asset: fonts/Roboto_Mono/RobotoMono-Regular.ttf
weight: 400
- asset: fonts/Roboto_Mono/RobotoMono-Medium.ttf
weight: 500
- asset: fonts/Roboto_Mono/RobotoMono-Bold.ttf
weight: 700
- family: Roboto
fonts:
- asset: fonts/Roboto/Roboto-Thin.ttf
weight: 100
- asset: fonts/Roboto/Roboto-Light.ttf
weight: 300
- asset: fonts/Roboto/Roboto-Regular.ttf
weight: 400
- asset: fonts/Roboto/Roboto-Medium.ttf
weight: 500
- asset: fonts/Roboto/Roboto-Bold.ttf
weight: 700
- asset: fonts/Roboto/Roboto-Black.ttf
weight: 900
- family: RobotoMono
fonts:
- asset: fonts/Roboto_Mono/RobotoMono-Thin.ttf
weight: 100
- asset: fonts/Roboto_Mono/RobotoMono-Light.ttf
weight: 300
- asset: fonts/Roboto_Mono/RobotoMono-Regular.ttf
weight: 400
- asset: fonts/Roboto_Mono/RobotoMono-Medium.ttf
weight: 500
- asset: fonts/Roboto_Mono/RobotoMono-Bold.ttf
weight: 700

dependency_overrides:
devtools_shared:
Expand Down
3 changes: 2 additions & 1 deletion packages/devtools_extensions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 0.0.15-wip
## 0.1.0
* Bump `devtools_app_shared` to ^0.1.0
* Update readme to use `pub add` instead of explicit package version.
* Bump `devtools_shared` to ^8.1.0

## 0.0.14
* Add a global `dtdManager` for interacting with the Dart Tooling Daemon.
Expand Down
8 changes: 4 additions & 4 deletions packages/devtools_extensions/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: devtools_extensions
description: A package for building and supporting extensions for Dart DevTools.
version: 0.0.15-wip
version: 0.1.0

repository: https://github.com/flutter/devtools/tree/master/packages/devtools_extensions

environment:
sdk: '>=3.3.0-91.0.dev <4.0.0'
flutter: '>=3.17.0-0.0.pre'
sdk: ">=3.3.0-91.0.dev <4.0.0"
flutter: ">=3.17.0-0.0.pre"

executables:
devtools_extensions: devtools_extensions

dependencies:
args: ^2.4.2
devtools_shared: ^6.0.1
devtools_shared: ^8.1.0
devtools_app_shared: ^0.1.0
flutter:
sdk: flutter
Expand Down

0 comments on commit 6f92735

Please sign in to comment.