Skip to content

Commit

Permalink
change yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hailiangcock committed Mar 2, 2023
1 parent 53d7d1d commit d3c3161
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter_app_upgrade/flutter_app_upgrade.dart';
import 'package:flutter_app_upgrade/flutter_app_upgrade2.dart';

void main() => runApp(MyApp());

Expand Down
File renamed without changes.
4 changes: 1 addition & 3 deletions lib/src/app_upgrade.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_app_upgrade/flutter_app_upgrade.dart';
import 'package:flutter_app_upgrade2/flutter_app_upgrade2.dart';

import 'download_status.dart';
import 'simple_app_upgrade.dart';

///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/flutter_upgrade.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:flutter_app_upgrade/flutter_app_upgrade.dart';
import 'package:flutter_app_upgrade2/flutter_app_upgrade2.dart';

class FlutterUpgrade {
static const MethodChannel _channel = const MethodChannel('flutter_app_upgrade');
Expand Down
2 changes: 1 addition & 1 deletion lib/src/liquid_progress_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_app_upgrade/src/wave.dart';
import 'package:flutter_app_upgrade2/src/wave.dart';

class LiquidLinearProgressIndicator extends ProgressIndicator {
///The width of the border, if this is set [borderColor] must also be set.
Expand Down
3 changes: 1 addition & 2 deletions lib/src/simple_app_upgrade.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import 'dart:io';

import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_app_upgrade/flutter_app_upgrade.dart';
import 'package:flutter_app_upgrade/src/download_status.dart';
import 'package:flutter_app_upgrade2/flutter_app_upgrade2.dart';

import 'liquid_progress_indicator.dart';

Expand Down
12 changes: 7 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ homepage: http://laomengit.com/plugin/upgrade.html

environment:
sdk: ">=2.1.0 <3.0.0"
flutter: ">=1.10.0"

dependencies:
flutter:
sdk: flutter

dio: any
dio: ^5.0.1

dev_dependencies:
flutter_test:
Expand All @@ -27,10 +28,11 @@ flutter:
# adding or updating assets for this project.
plugin:
platforms:
android:
package: com.flutter.flutter_app_upgrade
ios:
pluginClass: FlutterAppUpgradePlugin
android:
package: com.flutter.flutter_app_upgrade
pluginClass: FlutterAppUpgradePlugin
ios:
pluginClass: FlutterAppUpgradePlugin
# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
Expand Down

0 comments on commit d3c3161

Please sign in to comment.