From 4de0662eaf94615f18f12567d84b17c95be840ca Mon Sep 17 00:00:00 2001 From: mono Date: Fri, 29 Apr 2022 07:38:59 +0900 Subject: [PATCH] Add documentation --- lib/src/adaptive_dialog.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/adaptive_dialog.dart b/lib/src/adaptive_dialog.dart index 89f7a13..c0ae4e7 100644 --- a/lib/src/adaptive_dialog.dart +++ b/lib/src/adaptive_dialog.dart @@ -1,6 +1,7 @@ import 'package:adaptive_dialog/adaptive_dialog.dart'; import 'package:flutter/material.dart'; +/// Manage common adaptive_dialog settings, etc. class AdaptiveDialog { AdaptiveDialog._(); static AdaptiveDialog? _instance; @@ -13,6 +14,7 @@ class AdaptiveDialog { AdaptiveStyle get defaultStyle => _defaultStyle; AdaptiveDialogMacOSConfiguration get macOS => _macOs; + /// Update default configuration // ignore: use_setters_to_change_properties void updateConfiguration({ AdaptiveStyle? defaultStyle, @@ -23,10 +25,12 @@ class AdaptiveDialog { } } +/// Manage common macOS settings class AdaptiveDialogMacOSConfiguration { AdaptiveDialogMacOSConfiguration({ this.applicationIcon, }); + /// Used for macOS style dialog final Widget? applicationIcon; }