Skip to content

Commit

Permalink
dart fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Feb 5, 2025
1 parent 1331387 commit dda1146
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions lib/src/ui/widgets/room/camera_switch_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ class CameraSwitchButton extends StatelessWidget {
Widget build(BuildContext context) {
return ElevatedButton(
style: ButtonStyle(
backgroundColor:
WidgetStateProperty.all(Colors.grey.withOpacity(0.9)),
backgroundColor: WidgetStateProperty.all(Colors.grey.withOpacity(0.9)),
foregroundColor: WidgetStateProperty.all(Colors.white),
overlayColor: WidgetStateProperty.all(Colors.grey),
shape: WidgetStateProperty.all(const RoundedRectangleBorder(
Expand Down
5 changes: 2 additions & 3 deletions lib/src/ui/widgets/room/media_device_select_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ class MediaDeviceSelectWidget extends StatelessWidget {
return Row(mainAxisSize: MainAxisSize.min, children: [
ElevatedButton(
style: ButtonStyle(
backgroundColor: WidgetStateProperty.all(deviceIsOpened
? LKColors.lkBlue
: Colors.grey.withOpacity(0.9)),
backgroundColor: WidgetStateProperty.all(
deviceIsOpened ? LKColors.lkBlue : Colors.grey.withOpacity(0.9)),
foregroundColor: WidgetStateProperty.all(Colors.white),
overlayColor: WidgetStateProperty.all(
deviceIsOpened ? LKColors.lkLightBlue : Colors.grey),
Expand Down
3 changes: 1 addition & 2 deletions lib/src/ui/widgets/room/speaker_switch_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class SpeakerSwitchButton extends StatelessWidget {
Widget build(BuildContext context) {
return ElevatedButton(
style: ButtonStyle(
backgroundColor:
WidgetStateProperty.all(Colors.grey.withOpacity(0.9)),
backgroundColor: WidgetStateProperty.all(Colors.grey.withOpacity(0.9)),
foregroundColor: WidgetStateProperty.all(Colors.white),
overlayColor: WidgetStateProperty.all(Colors.grey),
shape: WidgetStateProperty.all(const RoundedRectangleBorder(
Expand Down

0 comments on commit dda1146

Please sign in to comment.