Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
multi_select_flutter
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dart-package
multi_select_flutter
Commits
c67cf507
Commit
c67cf507
authored
Jan 22, 2024
by
Rizal Hermawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "update gradle distribution url and remove validation length in action function"
This reverts commit
a863bcb9
.
parent
da48fe89
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
13 deletions
+49
-13
example/android/app/build.gradle
+3
-3
example/android/build.gradle
+3
-3
example/android/gradle/wrapper/gradle-wrapper.properties
+1
-1
example/pubspec.lock
+6
-6
lib/util/multi_select_actions.dart
+2
-0
pubspec.lock
+34
-0
No files found.
example/android/app/build.gradle
View file @
c67cf507
...
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
...
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
30
compileSdkVersion
28
sourceSets
{
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
@@ -39,8 +39,8 @@ android {
...
@@ -39,8 +39,8 @@ android {
defaultConfig
{
defaultConfig
{
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.example"
applicationId
"com.example.example"
minSdkVersion
21
minSdkVersion
16
targetSdkVersion
30
targetSdkVersion
28
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
example/android/build.gradle
View file @
c67cf507
...
@@ -2,11 +2,11 @@ buildscript {
...
@@ -2,11 +2,11 @@ buildscript {
ext
.
kotlin_version
=
'1.3.50'
ext
.
kotlin_version
=
'1.3.50'
repositories
{
repositories
{
google
()
google
()
mavenCentral
()
jcenter
()
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:
4.1
.0'
classpath
'com.android.tools.build:gradle:
3.5
.0'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
}
}
...
@@ -14,7 +14,7 @@ buildscript {
...
@@ -14,7 +14,7 @@ buildscript {
allprojects
{
allprojects
{
repositories
{
repositories
{
google
()
google
()
mavenCentral
()
jcenter
()
}
}
}
}
...
...
example/android/gradle/wrapper/gradle-wrapper.properties
View file @
c67cf507
...
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
...
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
6.7
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
5.6.2
-all.zip
example/pubspec.lock
View file @
c67cf507
...
@@ -7,7 +7,7 @@ packages:
...
@@ -7,7 +7,7 @@ packages:
name: async
name: async
url: "https://pub.dartlang.org"
url: "https://pub.dartlang.org"
source: hosted
source: hosted
version: "2.
8.1
"
version: "2.
5.0
"
boolean_selector:
boolean_selector:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -28,7 +28,7 @@ packages:
...
@@ -28,7 +28,7 @@ packages:
name: charcode
name: charcode
url: "https://pub.dartlang.org"
url: "https://pub.dartlang.org"
source: hosted
source: hosted
version: "1.
3.1
"
version: "1.
2.0
"
clock:
clock:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -80,7 +80,7 @@ packages:
...
@@ -80,7 +80,7 @@ packages:
name: meta
name: meta
url: "https://pub.dartlang.org"
url: "https://pub.dartlang.org"
source: hosted
source: hosted
version: "1.
7
.0"
version: "1.
3
.0"
multi_select_flutter:
multi_select_flutter:
dependency: "direct main"
dependency: "direct main"
description:
description:
...
@@ -106,7 +106,7 @@ packages:
...
@@ -106,7 +106,7 @@ packages:
name: source_span
name: source_span
url: "https://pub.dartlang.org"
url: "https://pub.dartlang.org"
source: hosted
source: hosted
version: "1.8.
1
"
version: "1.8.
0
"
stack_trace:
stack_trace:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -141,7 +141,7 @@ packages:
...
@@ -141,7 +141,7 @@ packages:
name: test_api
name: test_api
url: "https://pub.dartlang.org"
url: "https://pub.dartlang.org"
source: hosted
source: hosted
version: "0.
4.2
"
version: "0.
2.19
"
typed_data:
typed_data:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -157,4 +157,4 @@ packages:
...
@@ -157,4 +157,4 @@ packages:
source: hosted
source: hosted
version: "2.1.0"
version: "2.1.0"
sdks:
sdks:
dart: ">=2.12.0 <3.0.0"
dart: ">=2.12.0
-0.0
<3.0.0"
lib/util/multi_select_actions.dart
View file @
c67cf507
...
@@ -22,7 +22,9 @@ class MultiSelectActions<V> {
...
@@ -22,7 +22,9 @@ class MultiSelectActions<V> {
/// Calls the onConfirm function if one was provided.
/// Calls the onConfirm function if one was provided.
void
onConfirmTap
(
void
onConfirmTap
(
BuildContext
ctx
,
List
<
V
>
selectedValues
,
Function
(
List
<
V
>)?
onConfirm
,
int
validationSelectedLength
)
{
BuildContext
ctx
,
List
<
V
>
selectedValues
,
Function
(
List
<
V
>)?
onConfirm
,
int
validationSelectedLength
)
{
if
(
selectedValues
.
length
<=
validationSelectedLength
)
{
Navigator
.
pop
(
ctx
,
selectedValues
);
Navigator
.
pop
(
ctx
,
selectedValues
);
}
if
(
onConfirm
!=
null
)
{
if
(
onConfirm
!=
null
)
{
onConfirm
(
selectedValues
);
onConfirm
(
selectedValues
);
}
}
...
...
pubspec.lock
View file @
c67cf507
...
@@ -8,7 +8,11 @@ packages:
...
@@ -8,7 +8,11 @@ packages:
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
<<<<<<< HEAD
version: "2.11.0"
version: "2.11.0"
=======
version: "2.5.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
boolean_selector:
boolean_selector:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -24,7 +28,18 @@ packages:
...
@@ -24,7 +28,18 @@ packages:
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
<<<<<<< HEAD
version: "1.3.0"
version: "1.3.0"
=======
version: "1.1.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
clock:
clock:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -82,7 +97,11 @@ packages:
...
@@ -82,7 +97,11 @@ packages:
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
<<<<<<< HEAD
version: "1.10.0"
version: "1.10.0"
=======
version: "1.3.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
path:
path:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -103,7 +122,11 @@ packages:
...
@@ -103,7 +122,11 @@ packages:
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
<<<<<<< HEAD
version: "1.10.0"
version: "1.10.0"
=======
version: "1.8.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
stack_trace:
stack_trace:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -143,7 +166,18 @@ packages:
...
@@ -143,7 +166,18 @@ packages:
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
url: "https://pub.dev"
source: hosted
source: hosted
<<<<<<< HEAD
version: "0.6.1"
version: "0.6.1"
=======
version: "0.2.19"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
vector_math:
vector_math:
dependency: transitive
dependency: transitive
description:
description:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment