Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Fix ci error: deprecated api #2485

Merged
merged 1 commit into from
Jan 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/espresso/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.1+2

* Update te example app to avoid using deprecated api.

## 0.0.1+1

* Updates to README to avoid unnecessary imports and warnings.
Expand Down
1 change: 0 additions & 1 deletion packages/espresso/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class _MyHomePageState extends State<_MyHomePage> {
children: <Widget>[
Text(
'Button tapped $_counter time${_counter == 1 ? '' : 's'}.',
style: Theme.of(context).textTheme.display1,
key: ValueKey('CountText'),
),
],
Expand Down
2 changes: 1 addition & 1 deletion packages/espresso/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: espresso
description: Java classes for testing Flutter apps using Espresso.
version: 0.0.1+1
version: 0.0.1+2
homepage: https://github.com/flutter/plugins/espresso

environment:
Expand Down
6 changes: 5 additions & 1 deletion packages/in_app_purchase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.3.0+2

* Update te example app to avoid using deprecated api.

## 0.3.0+1

* Fixing usage example. No functional changes.
* Fixing usage example. No functional changes.

## 0.3.0

Expand Down
9 changes: 3 additions & 6 deletions packages/in_app_purchase/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ class _MyAppState extends State<MyApp> {
if (!_isAvailable) {
return Card();
}
final ListTile productHeader = ListTile(
title: Text('Products for Sale',
style: Theme.of(context).textTheme.headline));
final ListTile productHeader = ListTile(title: Text('Products for Sale'));
List<ListTile> productList = <ListTile>[];
if (_notFoundIds.isNotEmpty) {
productList.add(ListTile(
Expand Down Expand Up @@ -284,9 +282,8 @@ class _MyAppState extends State<MyApp> {
if (!_isAvailable || _notFoundIds.contains(_kConsumableId)) {
return Card();
}
final ListTile consumableHeader = ListTile(
title: Text('Purchased consumables',
style: Theme.of(context).textTheme.headline));
final ListTile consumableHeader =
ListTile(title: Text('Purchased consumables'));
final List<Widget> tokens = _consumables.map((String id) {
return GridTile(
child: IconButton(
Expand Down
2 changes: 1 addition & 1 deletion packages/in_app_purchase/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: in_app_purchase
description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
homepage: https://github.com/flutter/plugins/tree/master/packages/in_app_purchase
version: 0.3.0+1
version: 0.3.0+2


dependencies:
Expand Down