mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 03:17:54 +00:00
door lock
This commit is contained in:
@@ -29,7 +29,6 @@ class DefaultButton extends StatelessWidget {
|
||||
final double? padding;
|
||||
final bool isDone;
|
||||
final bool isLoading;
|
||||
|
||||
final TextStyle? customTextStyle;
|
||||
|
||||
final ButtonStyle? customButtonStyle;
|
||||
@@ -91,12 +90,14 @@ class DefaultButton extends StatelessWidget {
|
||||
color: Colors.white,
|
||||
),
|
||||
)
|
||||
: isDone
|
||||
? const Icon(
|
||||
Icons.check_circle_outline,
|
||||
color: Colors.white,
|
||||
)
|
||||
: child,
|
||||
:
|
||||
|
||||
|
||||
isDone
|
||||
? const Icon(
|
||||
Icons.check_circle_outline,
|
||||
color: Colors.white,
|
||||
) :child ,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user