NativeThemeData constructor

NativeThemeData({
  1. required BuildContext context,
  2. Iterable<Adaptation<Object>>? adaptations,
  3. bool? applyElevationOverlayColor,
  4. NoDefaultCupertinoThemeData? cupertinoOverrideTheme,
  5. Iterable<ThemeExtension<ThemeExtension>>? extensions,
  6. InputDecorationTheme? inputDecorationTheme,
  7. MaterialTapTargetSize? materialTapTargetSize,
  8. PageTransitionsTheme? pageTransitionsTheme,
  9. TargetPlatform? platform,
  10. ScrollbarThemeData? scrollbarTheme,
  11. InteractiveInkFeatureFactory? splashFactory,
  12. bool? useMaterial3,
  13. VisualDensity? visualDensity,
  14. ColorScheme? colorScheme,
  15. Brightness? brightness,
  16. Color? colorSchemeSeed,
  17. Color? canvasColor,
  18. Color? cardColor,
  19. Color? dialogBackgroundColor,
  20. Color? disabledColor,
  21. Color? dividerColor,
  22. Color? focusColor,
  23. Color? highlightColor,
  24. Color? hintColor,
  25. Color? hoverColor,
  26. Color? indicatorColor,
  27. Color? primaryColor,
  28. Color? primaryColorDark,
  29. Color? primaryColorLight,
  30. MaterialColor? primarySwatch,
  31. Color? secondaryHeaderColor,
  32. Color? shadowColor,
  33. Color? splashColor,
  34. Color? unselectedWidgetColor,
  35. String? fontFamily,
  36. List<String>? fontFamilyFallback,
  37. String? package,
  38. IconThemeData? iconTheme,
  39. IconThemeData? primaryIconTheme,
  40. NativeTextTheme? primaryTextTheme,
  41. NativeTextTheme? textTheme,
  42. NativeTypography? typography,
  43. ActionIconThemeData? actionIconTheme,
  44. AppBarTheme? appBarTheme,
  45. BadgeThemeData? badgeTheme,
  46. MaterialBannerThemeData? bannerTheme,
  47. BottomAppBarTheme? bottomAppBarTheme,
  48. BottomNavigationBarThemeData? bottomNavigationBarTheme,
  49. BottomSheetThemeData? bottomSheetTheme,
  50. ButtonThemeData? buttonTheme,
  51. Object? cardTheme,
  52. CheckboxThemeData? checkboxTheme,
  53. ChipThemeData? chipTheme,
  54. DataTableThemeData? dataTableTheme,
  55. DatePickerThemeData? datePickerTheme,
  56. Object? dialogTheme,
  57. DividerThemeData? dividerTheme,
  58. DrawerThemeData? drawerTheme,
  59. DropdownMenuThemeData? dropdownMenuTheme,
  60. ElevatedButtonThemeData? elevatedButtonTheme,
  61. ExpansionTileThemeData? expansionTileTheme,
  62. FilledButtonThemeData? filledButtonTheme,
  63. FloatingActionButtonThemeData? floatingActionButtonTheme,
  64. IconButtonThemeData? iconButtonTheme,
  65. ListTileThemeData? listTileTheme,
  66. MenuBarThemeData? menuBarTheme,
  67. MenuButtonThemeData? menuButtonTheme,
  68. MenuThemeData? menuTheme,
  69. NavigationBarThemeData? navigationBarTheme,
  70. NavigationDrawerThemeData? navigationDrawerTheme,
  71. NavigationRailThemeData? navigationRailTheme,
  72. OutlinedButtonThemeData? outlinedButtonTheme,
  73. PopupMenuThemeData? popupMenuTheme,
  74. ProgressIndicatorThemeData? progressIndicatorTheme,
  75. RadioThemeData? radioTheme,
  76. SearchBarThemeData? searchBarTheme,
  77. SearchViewThemeData? searchViewTheme,
  78. SegmentedButtonThemeData? segmentedButtonTheme,
  79. SliderThemeData? sliderTheme,
  80. SnackBarThemeData? snackBarTheme,
  81. SwitchThemeData? switchTheme,
  82. Object? tabBarTheme,
  83. TextButtonThemeData? textButtonTheme,
  84. TextSelectionThemeData? textSelectionTheme,
  85. TimePickerThemeData? timePickerTheme,
  86. ToggleButtonsThemeData? toggleButtonsTheme,
  87. TooltipThemeData? tooltipTheme,
  88. ButtonBarThemeData? buttonBarTheme,
  89. bool? applyThemeToAll,
})

Implementation

NativeThemeData({
  required this.context,
  this.adaptations,
  this.applyElevationOverlayColor,
  this.cupertinoOverrideTheme,
  this.extensions,
  this.inputDecorationTheme,
  this.materialTapTargetSize,
  this.pageTransitionsTheme,
  this.platform,
  this.scrollbarTheme,
  this.splashFactory,
  this.useMaterial3,
  this.visualDensity,
  this.colorScheme,
  this.brightness,
  this.colorSchemeSeed,
  this.canvasColor,
  this.cardColor,
  this.dialogBackgroundColor,
  this.disabledColor,
  this.dividerColor,
  this.focusColor,
  this.highlightColor,
  this.hintColor,
  this.hoverColor,
  this.indicatorColor,
  this.primaryColor,
  this.primaryColorDark,
  this.primaryColorLight,
  this.primarySwatch,
  this.secondaryHeaderColor,
  this.shadowColor,
  this.splashColor,
  this.unselectedWidgetColor,
  this.fontFamily,
  this.fontFamilyFallback,
  this.package,
  this.iconTheme,
  this.primaryIconTheme,
  this.primaryTextTheme,
  this.textTheme,
  this.typography,
  this.actionIconTheme,
  this.appBarTheme,
  this.badgeTheme,
  this.bannerTheme,
  this.bottomAppBarTheme,
  this.bottomNavigationBarTheme,
  this.bottomSheetTheme,
  this.buttonTheme,
  this.cardTheme,
  this.checkboxTheme,
  this.chipTheme,
  this.dataTableTheme,
  this.datePickerTheme,
  this.dialogTheme,
  this.dividerTheme,
  this.drawerTheme,
  this.dropdownMenuTheme,
  this.elevatedButtonTheme,
  this.expansionTileTheme,
  this.filledButtonTheme,
  this.floatingActionButtonTheme,
  this.iconButtonTheme,
  this.listTileTheme,
  this.menuBarTheme,
  this.menuButtonTheme,
  this.menuTheme,
  this.navigationBarTheme,
  this.navigationDrawerTheme,
  this.navigationRailTheme,
  this.outlinedButtonTheme,
  this.popupMenuTheme,
  this.progressIndicatorTheme,
  this.radioTheme,
  this.searchBarTheme,
  this.searchViewTheme,
  this.segmentedButtonTheme,
  this.sliderTheme,
  this.snackBarTheme,
  this.switchTheme,
  this.tabBarTheme,
  this.textButtonTheme,
  this.textSelectionTheme,
  this.timePickerTheme,
  this.toggleButtonsTheme,
  this.tooltipTheme,
  this.buttonBarTheme,
  this.applyThemeToAll,
});