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'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
30
compileSdkVersion
28
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
...
@@ -39,8 +39,8 @@ android {
defaultConfig
{
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.example"
minSdkVersion
21
targetSdkVersion
30
minSdkVersion
16
targetSdkVersion
28
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
example/android/build.gradle
View file @
c67cf507
...
...
@@ -2,11 +2,11 @@ buildscript {
ext
.
kotlin_version
=
'1.3.50'
repositories
{
google
()
mavenCentral
()
jcenter
()
}
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"
}
}
...
...
@@ -14,7 +14,7 @@ buildscript {
allprojects
{
repositories
{
google
()
mavenCentral
()
jcenter
()
}
}
...
...
example/android/gradle/wrapper/gradle-wrapper.properties
View file @
c67cf507
...
...
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
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:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.
8.1
"
version: "2.
5.0
"
boolean_selector:
dependency: transitive
description:
...
...
@@ -28,7 +28,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.
3.1
"
version: "1.
2.0
"
clock:
dependency: transitive
description:
...
...
@@ -80,7 +80,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.
7
.0"
version: "1.
3
.0"
multi_select_flutter:
dependency: "direct main"
description:
...
...
@@ -106,7 +106,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.
1
"
version: "1.8.
0
"
stack_trace:
dependency: transitive
description:
...
...
@@ -141,7 +141,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.
4.2
"
version: "0.
2.19
"
typed_data:
dependency: transitive
description:
...
...
@@ -157,4 +157,4 @@ packages:
source: hosted
version: "2.1.0"
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> {
/// Calls the onConfirm function if one was provided.
void
onConfirmTap
(
BuildContext
ctx
,
List
<
V
>
selectedValues
,
Function
(
List
<
V
>)?
onConfirm
,
int
validationSelectedLength
)
{
if
(
selectedValues
.
length
<=
validationSelectedLength
)
{
Navigator
.
pop
(
ctx
,
selectedValues
);
}
if
(
onConfirm
!=
null
)
{
onConfirm
(
selectedValues
);
}
...
...
pubspec.lock
View file @
c67cf507
...
...
@@ -8,7 +8,11 @@ packages:
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
version: "2.11.0"
=======
version: "2.5.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
boolean_selector:
dependency: transitive
description:
...
...
@@ -24,7 +28,18 @@ packages:
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
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:
dependency: transitive
description:
...
...
@@ -82,7 +97,11 @@ packages:
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
version: "1.10.0"
=======
version: "1.3.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
path:
dependency: transitive
description:
...
...
@@ -103,7 +122,11 @@ packages:
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
version: "1.10.0"
=======
version: "1.8.0"
>>>>>>> parent of a863bcb (update gradle distribution url and remove validation length in action function)
stack_trace:
dependency: transitive
description:
...
...
@@ -143,7 +166,18 @@ packages:
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
<<<<<<< HEAD
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:
dependency: transitive
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