refactor: Make verification in dialogs
This commit is contained in:
parent
a05eabc950
commit
3dd15d0bf5
6 changed files with 118 additions and 150 deletions
|
|
@ -5,6 +5,9 @@ import 'package:flutter/foundation.dart';
|
|||
abstract class PlatformInfos {
|
||||
static bool get isWeb => kIsWeb;
|
||||
|
||||
static bool get isCupertinoStyle =>
|
||||
!kIsWeb && (Platform.isIOS || Platform.isMacOS);
|
||||
|
||||
static bool get isMobile => !kIsWeb && (Platform.isAndroid || Platform.isIOS);
|
||||
|
||||
/// For desktops which don't support ChachedNetworkImage yet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue