mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 09:47:35 +08:00
flutter upgrade
The dots_indicator package seems to have changed their API without bumping the major version number :(
This commit is contained in:
@ -272,9 +272,11 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
|
||||
children: <Widget>[
|
||||
pageView,
|
||||
DotsIndicator(
|
||||
numberOfDot: _pageCount,
|
||||
dotsCount: _pageCount,
|
||||
position: _currentPageIndex,
|
||||
dotActiveColor: Theme.of(context).primaryColorDark,
|
||||
decorator: DotsDecorator(
|
||||
activeColor: Theme.of(context).primaryColorDark,
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
@ -49,9 +49,11 @@ class OnBoardingScreenState extends State<OnBoardingScreen> {
|
||||
child: Row(
|
||||
children: [
|
||||
DotsIndicator(
|
||||
numberOfDot: pages.length,
|
||||
dotsCount: pages.length,
|
||||
position: _currentPageIndex,
|
||||
dotActiveColor: Theme.of(context).primaryColorDark,
|
||||
decorator: DotsDecorator(
|
||||
activeColor: Theme.of(context).primaryColorDark,
|
||||
),
|
||||
),
|
||||
],
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
26
pubspec.lock
26
pubspec.lock
@ -14,14 +14,14 @@ packages:
|
||||
name: archive
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.8"
|
||||
version: "2.0.10"
|
||||
args:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: args
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.5.1"
|
||||
version: "1.5.2"
|
||||
async:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -84,14 +84,14 @@ packages:
|
||||
name: device_info
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.4.0+1"
|
||||
version: "0.4.0+2"
|
||||
dots_indicator:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: dots_indicator
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.4"
|
||||
version: "0.0.5+1"
|
||||
file:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -105,7 +105,7 @@ packages:
|
||||
name: firebase_analytics
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.0.1"
|
||||
version: "3.0.2"
|
||||
flutter:
|
||||
dependency: "direct main"
|
||||
description: flutter
|
||||
@ -129,7 +129,7 @@ packages:
|
||||
name: flutter_email_sender
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.2"
|
||||
version: "2.0.3"
|
||||
flutter_launcher_icons:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
@ -195,7 +195,7 @@ packages:
|
||||
name: http_multi_server
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.6"
|
||||
version: "2.1.0"
|
||||
http_parser:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -279,7 +279,7 @@ packages:
|
||||
name: mime
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.9.6+2"
|
||||
version: "0.9.6+3"
|
||||
multi_server_socket:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -307,7 +307,7 @@ packages:
|
||||
name: package_info
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.4.0+3"
|
||||
version: "0.4.0+4"
|
||||
package_resolver:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -384,7 +384,7 @@ packages:
|
||||
name: shared_preferences
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.5.2"
|
||||
version: "0.5.3+1"
|
||||
shelf:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -501,14 +501,14 @@ packages:
|
||||
name: url_launcher
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "5.0.2"
|
||||
version: "5.0.3"
|
||||
uuid:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: uuid
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.1"
|
||||
version: "2.0.2"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -553,4 +553,4 @@ packages:
|
||||
version: "2.1.15"
|
||||
sdks:
|
||||
dart: ">=2.2.0 <3.0.0"
|
||||
flutter: ">=0.5.6 <2.0.0"
|
||||
flutter: ">=1.5.0 <2.0.0"
|
||||
|
Reference in New Issue
Block a user