Skip to content

Commit

Permalink
Merge pull request #15 from JEuler/type-changes
Browse files Browse the repository at this point in the history
Type changes for new Flutter (3.27.0)
  • Loading branch information
nizwar authored Dec 16, 2024
2 parents 72ae9e1 + 0f28fd9 commit 6a70e8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/ndialogBase.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class NDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
final ThemeData? theme = Theme.of(context);
final DialogTheme? dialogTheme = DialogTheme.of(context);
final DialogThemeData dialogTheme = DialogTheme.of(context);
final DialogStyle style = dialogStyle ?? DialogStyle();

String? label = style.semanticsLabel;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/progressDialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class _ProgressDialogWidgetState extends State<_ProgressDialogWidget>
@override
Widget build(BuildContext context) {
final ThemeData theme = Theme.of(context);
final DialogTheme dialogTheme = DialogTheme.of(context);
final DialogThemeData dialogTheme = DialogTheme.of(context);

Widget? title = _title ?? widget.title;
Widget message = _message ?? (widget.message ?? SizedBox.shrink());
Expand Down

0 comments on commit 6a70e8b

Please sign in to comment.