Skip to content

Commit

Permalink
rotation slider in seperate row
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanjpg committed Jan 25, 2022
1 parent 97ca90e commit 744a4db
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,16 @@ class MyHomePage extends StatelessWidget {
body: Column(
children: <Widget>[
const Expanded(child: CropperWidget()),
Row(
children: const [
UndoButton(),
Expanded(child: RotationSlider()),
BoxShapeButton(),
RatioButton(),
Column(
children: [
Row(
children: const [
UndoButton(),
BoxShapeButton(),
RatioButton(),
],
),
const RotationSlider()
],
),
],
Expand Down

1 comment on commit 744a4db

@adnanjpg
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for this is, in small screens the slider is very small that you can at minimum slide 2 values at a time

Please sign in to comment.