Skip to content

Commit

Permalink
Update Version to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nandakista committed Oct 28, 2023
1 parent bcf1c09 commit 8bba7a3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion example/collection_picker_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MyApp extends StatelessWidget {
}

class CollectionPickerExample extends StatelessWidget {
const CollectionPickerExample({Key? key}) : super(key: key);
const CollectionPickerExample({super.key});

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 2 additions & 2 deletions lib/src/gridview_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'picker_chips.dart';
/// your selected item widget
class GridViewPicker<T> extends StatefulWidget {
const GridViewPicker({
Key? key,
super.key,
required this.type,
required this.data,
required this.onChanged,
Expand Down Expand Up @@ -41,7 +41,7 @@ class GridViewPicker<T> extends StatefulWidget {
this.findChildIndexCallback,
this.unavailableData,
this.enabled = true,
}) : super(key: key);
});

/// Type of picker (single, radio, or multi)
final PickerType type;
Expand Down
4 changes: 2 additions & 2 deletions lib/src/listview_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'picker_chips.dart';
/// your selected item widget
class ListViewPicker<T> extends StatefulWidget {
const ListViewPicker({
Key? key,
super.key,
required this.type,
required this.data,
required this.onChanged,
Expand All @@ -39,7 +39,7 @@ class ListViewPicker<T> extends StatefulWidget {
this.findChildIndexCallback,
this.unavailableData,
this.enabled = true,
}) : super(key: key);
});

/// Type of picker (single, radio, or multi)
final PickerType type;
Expand Down
4 changes: 2 additions & 2 deletions lib/src/picker_chips.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import 'package:flutter/material.dart';
/// Widget which wrap every item in GridView and ListView so can be used as picker widget.
class PickerChips extends StatelessWidget {
const PickerChips({
Key? key,
super.key,
required this.onSelected,
required this.child,
required this.selected,
this.isRadio = false,
}) : super(key: key);
});

/// Callback function when the item is selected.
/// It called when the widget has been tapped.
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: collection_picker
description: A Package contains selectable listview and gridview widgets with support for single, multi, and radio picker types.
version: 0.0.2+10
version: 1.0.0
repository: https://github.com/nandakista/collection_picker

environment:
Expand All @@ -11,5 +11,5 @@ dependencies:
sdk: flutter

dev_dependencies:
lints: ^2.0.1
flutter_lints: ^3.0.0
test: ^1.21.0

0 comments on commit 8bba7a3

Please sign in to comment.