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
a863bcb9
Commit
a863bcb9
authored
Oct 19, 2023
by
Rizal Hermawan
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update gradle distribution url and remove validation length in action function
parent
0c916a00
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
21 deletions
+19
-21
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
+1
-3
pubspec.lock
+5
-5
No files found.
example/android/app/build.gradle
View file @
a863bcb9
...
...
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
28
compileSdkVersion
30
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
16
targetSdkVersion
28
minSdkVersion
21
targetSdkVersion
30
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
example/android/build.gradle
View file @
a863bcb9
...
...
@@ -2,11 +2,11 @@ buildscript {
ext
.
kotlin_version
=
'1.3.50'
repositories
{
google
()
jcenter
()
mavenCentral
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:
3.5
.0'
classpath
'com.android.tools.build:gradle:
4.1
.0'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
...
...
@@ -14,7 +14,7 @@ buildscript {
allprojects
{
repositories
{
google
()
jcenter
()
mavenCentral
()
}
}
...
...
example/android/gradle/wrapper/gradle-wrapper.properties
View file @
a863bcb9
...
...
@@ -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-
5.6.2
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
6.7
-all.zip
example/pubspec.lock
View file @
a863bcb9
...
...
@@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.
5.0
"
version: "2.
8.1
"
boolean_selector:
dependency: transitive
description:
...
...
@@ -28,7 +28,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.
2.0
"
version: "1.
3.1
"
clock:
dependency: transitive
description:
...
...
@@ -80,7 +80,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.
3
.0"
version: "1.
7
.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.
0
"
version: "1.8.
1
"
stack_trace:
dependency: transitive
description:
...
...
@@ -141,7 +141,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.
2.19
"
version: "0.
4.2
"
typed_data:
dependency: transitive
description:
...
...
@@ -157,4 +157,4 @@ packages:
source: hosted
version: "2.1.0"
sdks:
dart: ">=2.12.0
-0.0
<3.0.0"
dart: ">=2.12.0 <3.0.0"
lib/util/multi_select_actions.dart
View file @
a863bcb9
...
...
@@ -22,9 +22,7 @@ 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
);
}
Navigator
.
pop
(
ctx
,
selectedValues
);
if
(
onConfirm
!=
null
)
{
onConfirm
(
selectedValues
);
}
...
...
pubspec.lock
View file @
a863bcb9
...
...
@@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.
5.0
"
version: "2.
8.1
"
boolean_selector:
dependency: transitive
description:
...
...
@@ -28,7 +28,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.
2.0
"
version: "1.
3.1
"
clock:
dependency: transitive
description:
...
...
@@ -73,7 +73,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.
3
.0"
version: "1.
7
.0"
path:
dependency: transitive
description:
...
...
@@ -92,7 +92,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.
0
"
version: "1.8.
1
"
stack_trace:
dependency: transitive
description:
...
...
@@ -127,7 +127,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.
2.19
"
version: "0.
4.2
"
typed_data:
dependency: transitive
description:
...
...
Rizal Hermawan
@hermawan
mentioned in commit
c67cf507
Jan 22, 2024
mentioned in commit
c67cf507
mentioned in commit c67cf5073f38b57fae61fc73334ba9af1925e33c
Toggle commit list
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