Skip to content

Commit

Permalink
fix: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
snaoyam authored and sboh1214 committed Aug 17, 2023
1 parent f03a0cb commit bb9b014
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions lib/widgets/responsive_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -170,20 +170,6 @@ class RawResponsiveWidget extends StatelessWidget {
pressedEffect: pressedEffect))
.toList(),
);
case 'Row-reversed':
return Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.min,
children: (args['children'] as List<Map<String, Map>>? ?? [])
.map((e) => RawResponsiveWidget(
data: e,
tapEffect: tapEffect,
tapEffectColorRatio: tapEffectColorRatio,
pressedEffect: pressedEffect))
.toList()
.reversed
.toList(),
);
case 'Column':
return Column(
crossAxisAlignment: CrossAxisAlignment.center,
Expand All @@ -196,20 +182,6 @@ class RawResponsiveWidget extends StatelessWidget {
pressedEffect: pressedEffect))
.toList(),
);
case 'Column-reversed':
return Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.min,
children: (args['children'] as List<Map<String, Map>>? ?? [])
.map((e) => RawResponsiveWidget(
data: e,
tapEffect: tapEffect,
tapEffectColorRatio: tapEffectColorRatio,
pressedEffect: pressedEffect))
.toList()
.reversed
.toList(),
);
case 'Icon':
final Color unpressedColor = args['color'] ?? const Color(0xFF000000);
final Color pressedColor = Color.lerp(
Expand Down

0 comments on commit bb9b014

Please sign in to comment.