Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot fix to run on flutter. 3.19.0 #69

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 34 additions & 27 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/.flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_custom_dialog","path":"C:\\\\YYLive4-OpenSource\\\\flutter-custom-dialog\\\\","dependencies":[]}],"android":[{"name":"flutter_custom_dialog","path":"C:\\\\YYLive4-OpenSource\\\\flutter-custom-dialog\\\\","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_custom_dialog","dependencies":[]}],"date_created":"2022-09-08 10:51:06.169356","version":"2.5.3"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_custom_dialog","path":"C:\\\\Users\\\\srini\\\\Desktop\\\\MyGit\\\\pub\\\\flutter-custom-dialog\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_custom_dialog","path":"C:\\\\Users\\\\srini\\\\Desktop\\\\MyGit\\\\pub\\\\flutter-custom-dialog\\\\","native_build":true,"dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_custom_dialog","dependencies":[]}],"date_created":"2024-02-21 19:09:08.292231","version":"3.19.0"}
8 changes: 4 additions & 4 deletions example/ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=G:\flutter"
export "FLUTTER_APPLICATION_PATH=C:\YYLive4-OpenSource\flutter-custom-dialog\example"
export "FLUTTER_ROOT=C:\src\flutter"
export "FLUTTER_APPLICATION_PATH=C:\Users\srini\Desktop\MyGit\flutter_custom_dialog-1.3.0\example"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib\main.dart"
export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.packages"
export "PACKAGE_CONFIG=.dart_tool/package_config.json"
4 changes: 2 additions & 2 deletions example/lib/dialog/listview_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ YYDialog YYListViewDialogListTile() {
items: listTileItems,
onClickItemListener: (index) {
var listTileItem = listTileItems[index];
print(listTileItem.text + " is on click");
print(listTileItem.text ?? '' + " is on click");
})
..show();
}
Expand All @@ -156,7 +156,7 @@ YYDialog YYListViewDialogListRadio() {
activeColor: Colors.deepPurpleAccent,
onClickItemListener: (index) {
var radioItem = radioItems[index];
print(radioItem.text + " is on click");
print(radioItem.text ?? '' + " is on click");
})
..divider()
..doubleButton(
Expand Down
9 changes: 4 additions & 5 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
library flutter_custom_dialog;

import 'package:flutter/material.dart';
import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
import 'package:flutter_custom_dialog_example/dialog/alert_dialog.dart';
import 'package:flutter_custom_dialog_example/dialog/bottom_sheet_dialog.dart';
import 'package:flutter_custom_dialog_example/dialog/listview_dialog.dart';
import 'package:flutter_custom_dialog_example/dialog/progress_dialog.dart';
import 'package:flutter_custom_dialog_example/dialog/notice_dialog.dart';
import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
import 'package:flutter_custom_dialog_example/dialog/progress_dialog.dart';

import 'dialog/develop_dialog.dart';

Expand Down Expand Up @@ -234,7 +234,7 @@ showAlertDialog(BuildContext context) {
}

showDevelopDialog(BuildContext context) {
YYDialog yyDialog;
YYDialog? yyDialog;

return Padding(
padding: EdgeInsets.all(8.0),
Expand Down Expand Up @@ -280,8 +280,7 @@ Widget makeTextButton(title, Function() function) {
return SizedBox(
width: 65.0,
height: 35.0,
child: RaisedButton(
padding: EdgeInsets.all(0.0),
child: ElevatedButton(
onPressed: () {
function();
},
Expand Down
Loading