Skip to content

Commit

Permalink
video
Browse files Browse the repository at this point in the history
  • Loading branch information
TotoB12 committed Oct 28, 2023
1 parent 979525e commit 05d79ce
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1234,30 +1234,30 @@ class _MyHomePageState extends State<MyHomePage>
),
),
),
Positioned(
top: 10.0,
left: MediaQuery.of(context).size.width / 2 -
20, // Center the button
child: Container(
decoration: BoxDecoration(
color: mainColor.withOpacity(0.7),
shape: BoxShape.rectangle,
borderRadius:
const BorderRadius.all(Radius.circular(7.0)),
),
child: IconButton(
icon: const Icon(Icons.input),
onPressed: () {
setState(() {
this.barcode = codebar;
productFuture = getProductInfo(this.barcode);
isWelcomeScreen = false;
});
HapticFeedback.heavyImpact();
},
),
),
),
// Positioned(
// top: 10.0,
// left: MediaQuery.of(context).size.width / 2 -
// 20, // Center the button
// child: Container(
// decoration: BoxDecoration(
// color: mainColor.withOpacity(0.7),
// shape: BoxShape.rectangle,
// borderRadius:
// const BorderRadius.all(Radius.circular(7.0)),
// ),
// child: IconButton(
// icon: const Icon(Icons.input),
// onPressed: () {
// setState(() {
// this.barcode = codebar;
// productFuture = getProductInfo(this.barcode);
// isWelcomeScreen = false;
// });
// HapticFeedback.heavyImpact();
// },
// ),
// ),
// ),
Positioned(
top: 10.0,
right: 10.0,
Expand Down

0 comments on commit 05d79ce

Please sign in to comment.