Description
Deprecated code, changing Theme of app using a floatingActionButton from Scaffold. Only Get.changeTheme shows the error, Get.isDarkMode works fine.
Reproduction code
floatingActionButton: FloatingActionButton(
child: Icon(Icons.add),
onPressed: () {
Get.changeTheme(
Get.isDarkMode ? ThemeData.light() : ThemeData.dark());
_.increment();
},
),
Current Message
'Warning: The support for configuring the foreground color of FloatingActionButtons using ThemeData.accentIconTheme has been deprecated. Please use ThemeData.floatingActionButtonTheme instead. See https://flutter.dev/go/remove-fab-accent-theme-dependency. This feature was deprecated after v1.13.2.'
To Reproduce
Expected behavior
Some code is deprecated.
Flutter Version:
Flutter 1.22.6 掳 Chanel Stable
Getx Version:
3.24.0
Describe on which device you found the bug:
Minimal reproduce code
Checked only on Android devices
'Warning: The support for configuring the foreground color of FloatingActionButtons using ThemeData.accentIconTheme has been deprecated. Please use ThemeData.floatingActionButtonTheme instead
Read the warning, it's FloatingActionButton relationed, not GetX.
I saw the Issue #146
Thanks for the answer, greeting for Mexico, land of tacos 馃尞
Sure!
Off: Me encantan los tacos mexicanos, la cocina mexicana es maravillosa.
Off: No sab铆a que hablar espa帽ol, que interesante, y s铆, es una tradici贸n muy grande nuestra comida, y algo de miedo con extranjeros probando comidas picosas