Skip to content

Commit

Permalink
Release for backward support.
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham16g committed Jun 22, 2024
1 parent 9bbed6b commit 5e8d5cd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.0.3
- Reverted/Changed the changes made in 1.0.2 as it only working with the latest Flutter version.

## 1.0.2
- Fixed deprecated methods and classes.

Expand Down
3 changes: 2 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ void main() {
elevatedButtonTheme: ElevatedButtonThemeData(
style: ButtonStyle(
elevation: MaterialStateProperty.all(0),
backgroundColor: MaterialStateProperty.all(Colors.purple.shade50)),
backgroundColor:
MaterialStateProperty.all(Colors.purple.shade50)),
)),
home: const DemoPage(),
));
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.2"
version: "1.0.3"
path:
dependency: transitive
description:
Expand Down
3 changes: 1 addition & 2 deletions lib/src/image_file_view/io_preview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ class ImageFileView extends StatelessWidget {
return Container(
clipBehavior: Clip.antiAlias,
decoration: BoxDecoration(
color: backgroundColor ??
Theme.of(context).colorScheme.background,
color: backgroundColor ?? Theme.of(context).colorScheme.background,
borderRadius: borderRadius ?? BorderRadius.zero,
),
child: Uri.tryParse(imageFile.path!)?.scheme.startsWith('http') == true
Expand Down
3 changes: 1 addition & 2 deletions lib/src/image_file_view/web_preview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ class ImageFileView extends StatelessWidget {
return Container(
clipBehavior: Clip.antiAlias,
decoration: BoxDecoration(
color: backgroundColor ??
Theme.of(context).colorScheme.background,
color: backgroundColor ?? Theme.of(context).colorScheme.background,
borderRadius: borderRadius ?? BorderRadius.zero,
),
child: imageFile.path == null
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: multi_image_picker_view
description: A complete widget which can easily pick multiple images from device and display them in UI. Also picked image can be re-ordered and removed easily.
version: 1.0.2
version: 1.0.3
homepage: https://github.com/shubham-gupta-16/multi_image_picker_view
repository: https://github.com/shubham-gupta-16/multi_image_picker_view
issue_tracker: https://github.com/shubham-gupta-16/multi_image_picker_view/issues
Expand Down

0 comments on commit 5e8d5cd

Please sign in to comment.