DNConfig class
DNMaterialApp이 Provider 트리에 등록하는 앱 전역 설정 모음이다.
Constructors
-
DNConfig({required bool debugMode, required Widget? home, required DNSecureStorage secureStorage, required DNHttp? api, required DNAuthAPI? authAPI, required GOChannel channel, required DNThemeData theme, required String? cdnOrigin, required List<
SingleChildWidget> providers, required GODialog dialog, required Locale? locale, required Iterable<Locale> supportedLocales}) -
앱에서 사용할 서비스 구현, 테마, 지역화와 추가 Provider를 저장한다.
const
Properties
- api → DNHttp?
-
final
- authAPI → DNAuthAPI?
-
final
- cdnOrigin → String?
-
final
- channel → GOChannel
-
final
- debugMode → bool
-
final
- dialog → GODialog
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- home → Widget?
-
final
- locale → Locale?
-
final
-
final
-
providers
→ List<
SingleChildWidget> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secureStorage → DNSecureStorage
-
final
-
supportedLocales
→ Iterable<
Locale> -
final
- theme → DNThemeData
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited