File tree Expand file tree Collapse file tree 8 files changed +53
-51
lines changed Expand file tree Collapse file tree 8 files changed +53
-51
lines changed Original file line number Diff line number Diff line change 33## 2.2.0
44
55* ** New Feature** : Support for custom slide indicators added.
6+ * ** Documentation** : Updated the documentation to show all contributors.
7+ * ** Documentation** : Updated the documentation to demonstrate the use of custom slide indicator.
8+ * ** Fix** : ` issue #28 ` fixed.
9+ * ** Fix** : ` issue #30 ` fixed.
10+ * ** Improvement** : Performance improvements.
11+ * ** Optimization** : Removed unnecessary codes.
612
713## 2.1.2
814
9- * ** Documentation** : Updated the documentation to display the sceenshots .
15+ * ** Documentation** : Updated the documentation to display the screenshots .
1016
1117## 2.1.1
1218
13- * ** Documentation** : Updated the documentation to display the sceenshots .
19+ * ** Documentation** : Updated the documentation to display the screenshots .
1420
1521## 2.1.0
1622
Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ android {
3737 jvmTarget = ' 1.8'
3838 }
3939
40+ lintOptions {
41+ disable ' InvalidPackage'
42+ checkReleaseBuilds false
43+ }
44+
4045 sourceSets {
4146 main. java. srcDirs + = ' src/main/kotlin'
4247 }
Original file line number Diff line number Diff line change 11<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2+ xmlns : tools =" http://schemas.android.com/tools"
23 package =" com.example.example" >
34
45 <uses-permission android : name =" android.permission.INTERNET" />
Original file line number Diff line number Diff line change 1- buildscript {
2- ext. kotlin_version = ' 1.6 .10'
3- repositories {
4- google()
5- mavenCentral()
6- }
7-
8- dependencies {
9- classpath ' com.android.tools.build:gradle:4.1.0 '
10- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11- }
12- }
13-
14- allprojects {
15- repositories {
16- google()
17- mavenCentral()
18- }
19- }
20-
21- rootProject. buildDir = ' ../build'
22- subprojects {
23- project. buildDir = " ${ rootProject.buildDir} /${ project.name} "
24- }
25- subprojects {
26- project. evaluationDependsOn(' :app' )
27- }
28-
29- task clean ( type : Delete ) {
30- delete rootProject. buildDir
31- }
1+ buildscript {
2+ ext. kotlin_version = ' 1.7 .10'
3+ repositories {
4+ google()
5+ mavenCentral()
6+ }
7+
8+ dependencies {
9+ classpath ' com.android.tools.build:gradle:7.3.1 '
10+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11+ }
12+ }
13+
14+ allprojects {
15+ repositories {
16+ google()
17+ mavenCentral()
18+ }
19+ }
20+
21+ rootProject. buildDir = ' ../build'
22+ subprojects {
23+ project. buildDir = " ${ rootProject.buildDir} /${ project.name} "
24+ }
25+ subprojects {
26+ project. evaluationDependsOn(' :app' )
27+ }
28+
29+ tasks . register( " clean " , Delete ) {
30+ delete rootProject. buildDir
31+ }
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3-all .zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6-bin .zip
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ import 'package:flutter_carousel_widget/flutter_carousel_widget.dart';
33
44import 'app_themes.dart' ;
55
6+ void main () async {
7+ WidgetsFlutterBinding .ensureInitialized ();
8+ runApp (const FlutterCarouselWidgetDemo ());
9+ }
10+
611class Slide {
712 Slide ({
813 required this .title,
@@ -50,8 +55,6 @@ final List<Widget> sliders = slides
5055 )
5156 .toList ();
5257
53- void main () => runApp (const FlutterCarouselWidgetDemo ());
54-
5558class FlutterCarouselWidgetDemo extends StatelessWidget {
5659 const FlutterCarouselWidgetDemo ({Key ? key}) : super (key: key);
5760
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ dependencies:
1515 flutter_carousel_widget :
1616 path : ../
1717
18- cupertino_icons : ^1.0.5
18+ cupertino_icons : ^1.0.6
1919
2020dev_dependencies :
2121 flutter_test :
2222 sdk : flutter
2323
24- flutter_lints : ^2 .0.1
24+ flutter_lints : ^3 .0.1
2525
2626flutter :
2727 uses-material-design : true
Original file line number Diff line number Diff line change @@ -100,10 +100,6 @@ class ExpandableCarouselState extends State<ExpandableCarousel>
100100 });
101101 }
102102 });
103-
104- // if (_currentPage != newPage) {
105- // //...
106- // }
107103 }
108104
109105 void _changeIndexPageDelta () {
@@ -121,15 +117,6 @@ class ExpandableCarouselState extends State<ExpandableCarousel>
121117 });
122118 }
123119 });
124-
125- // WidgetsBinding.instance.addPostFrameCallback((_) {
126- // if (mounted) {
127- // setState(() {
128- // _currentPage = _pageController!.page!.floor();
129- // _pageDelta = _pageController!.page! - _pageController!.page!.floor();
130- // });
131- // }
132- // });
133120 }
134121
135122 @override
You can’t perform that action at this time.
0 commit comments