Skip to content

Commit

Permalink
Removed 3.22 code updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Decoder07 committed May 15, 2024
1 parent 53c01d2 commit 4cd63cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions packages/hmssdk_flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -487,15 +487,15 @@ class _HomePageState extends State<HomePage> {
Expanded(
child: ElevatedButton(
style: ButtonStyle(
shadowColor: WidgetStateProperty.all(
shadowColor: MaterialStateProperty.all(
themeSurfaceColor),
backgroundColor:
meetingLinkController.text.isEmpty
? WidgetStateProperty.all(
? MaterialStateProperty.all(
themeSurfaceColor)
: WidgetStateProperty.all(
: MaterialStateProperty.all(
hmsdefaultColor),
shape: WidgetStateProperty.all<
shape: MaterialStateProperty.all<
RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8.0),
Expand Down Expand Up @@ -568,11 +568,11 @@ class _HomePageState extends State<HomePage> {
width: width * 0.95,
child: ElevatedButton(
style: ButtonStyle(
shadowColor: WidgetStateProperty.all(hmsdefaultColor),
shadowColor: MaterialStateProperty.all(hmsdefaultColor),
backgroundColor:
WidgetStateProperty.all(hmsdefaultColor),
MaterialStateProperty.all(hmsdefaultColor),
shape:
WidgetStateProperty.all<RoundedRectangleBorder>(
MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8.0),
))),
Expand Down
8 changes: 4 additions & 4 deletions packages/hmssdk_flutter/example/lib/qr_code_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ class _QRCodeScreenState extends State<QRCodeScreen> {
child: ElevatedButton(
style: ButtonStyle(
shadowColor:
WidgetStateProperty.all(themeSurfaceColor),
MaterialStateProperty.all(themeSurfaceColor),
backgroundColor:
WidgetStateProperty.all(Colors.transparent),
side: WidgetStateProperty.all(
MaterialStateProperty.all(Colors.transparent),
side: MaterialStateProperty.all(
BorderSide(color: borderColor)),
shape:
WidgetStateProperty.all<RoundedRectangleBorder>(
MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8.0),
))),
Expand Down

0 comments on commit 4cd63cc

Please sign in to comment.