mirror of
https://github.com/foss42/apidash.git
synced 2025-06-01 23:45:19 +08:00
fix: Material theme deprecations
This commit is contained in:
@ -26,7 +26,7 @@ final kIsAndroid = !kIsWeb && Platform.isAndroid;
|
||||
final kIsMobile = !kIsWeb && (Platform.isIOS || Platform.isAndroid);
|
||||
|
||||
final kColorTransparentState =
|
||||
MaterialStateProperty.all<Color>(Colors.transparent);
|
||||
WidgetStateProperty.all<Color>(Colors.transparent);
|
||||
const kColorTransparent = Colors.transparent;
|
||||
const kColorWhite = Colors.white;
|
||||
const kColorBlack = Colors.black;
|
||||
|
Reference in New Issue
Block a user