DNMaterialApp class
Dnkit의 서비스와 테마를 Provider로 등록하는 최상위 Material 앱 위젯이다.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DNMaterialApp
Constructors
-
DNMaterialApp({Key? key, DNThemeMode initialThemeMode = DNThemeMode.light, bool debugMode = false, Widget? home, Color primaryColor = Colors.blue, Color? secondaryColor, Color backgroundColor = Colors.white, Color linkColor = Colors.blue, String? fontFamily, double fontSize = 16.0, String? apiOrigin, String? cdnOrigin, DNHttp? api, DNAuthAPI? authAPI, List<
SingleChildWidget> providers = const [], GOChannel? channel, DNThemeData? theme, DNSecureStorage? secureStorage, GODialog? dialog, Locale? locale = const Locale('ko', ''), Iterable<Locale> supportedLocales = const <Locale>[Locale('en', ''), Locale('ko', '')], Iterable<LocalizationsDelegate> ? localizationsDelegates, Widget builder(BuildContext, Widget?)?, Widget? onGenerateRoute(RouteSettings)?}) - 앱 설정과 선택적 서비스 구현을 받아 Dnkit 실행 환경을 구성한다.
Properties
- builder → Widget Function(BuildContext, Widget?)?
-
final
- config → DNConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
localizationsDelegates
→ Iterable<
LocalizationsDelegate> ? -
final
- onGenerateRoute → Widget? Function(RouteSettings)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< DNMaterialApp> -
이 위젯의 Provider 및 Material 앱 상태를 생성한다.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited