toMethodChannelArgumentMap method
Map<String, dynamic>
toMethodChannelArgumentMap(
{ - Color? deprecatedToolbarColor,
- Color? deprecatedSecondaryToolbarColor,
- Color? deprecatedNavigationBarColor,
})
Implementation
Map<String, dynamic> toMethodChannelArgumentMap({
Color? deprecatedToolbarColor,
Color? deprecatedSecondaryToolbarColor,
Color? deprecatedNavigationBarColor,
}) {
return {
'toolbarColor': (toolbarColor ?? deprecatedToolbarColor)?.hexColor,
'secondaryToolbarColor':
(secondaryToolbarColor ?? deprecatedSecondaryToolbarColor)?.hexColor,
'navigationBarColor':
(navigationBarColor ?? deprecatedNavigationBarColor)?.hexColor,
'navigationBarDividerColor': navigationBarDividerColor?.hexColor,
};
}