Skip to content

Commit

Permalink
feat: added vertical buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
e200 committed Nov 20, 2021
1 parent 881d4f6 commit 26b1c76
Showing 1 changed file with 30 additions and 10 deletions.
40 changes: 30 additions & 10 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,36 @@ class RemoteControl extends StatelessWidget {
icon: const Icon(FeatherIcons.home),
onPress: () {},
),
TurnOnOffButton(
onPress: () {},
),
],
),
const SizedBox(height: 35),
ShadowedIconButton(
icon: const Icon(FeatherIcons.volumeX),
onPress: () {},
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
VerticalButtons(
children: [
ShadowedIconButton(
shadowOpacity: 0,
icon: const Icon(FeatherIcons.volume2),
onPress: () {},
),
const SizedBox(height: 10),
Text(
'vol',
style: TextStyle(
color: Colors.grey.shade400,
fontWeight: FontWeight.bold,
),
),
const SizedBox(height: 10),
ShadowedIconButton(
shadowOpacity: 0,
icon: const Icon(FeatherIcons.volume1),
onPress: () {},
),
],
),
ShadowedIconButton(
icon: const Icon(FeatherIcons.volumeX),
onPress: () {},
),
VerticalButtons(
children: [
ShadowedIconButton(
Expand Down

0 comments on commit 26b1c76

Please sign in to comment.