-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] getLeft and getRight return wrong result when in middle with a little offset #206
Comments
should be
|
Please fix this |
Why use |
@simform-solutions I can confirm this issue, as well as the solution provided by @SteveCruise Thanks for the fix @SteveCruise you should make PR and submit it... |
@SteveCruise @bismarabia Thanks for reporting the issue and providing a solution as well, But from our end, I am not able to replicate this issue with our example. Can you please share some code snippets in which you are facing the same issue, So we can work on it? |
@SteveCruise @bismarabia Do you guys have any update regarding the same? Are you guys still facing this issue with the latest release of the package? |
@DhavalRKansara import 'package:flutter/material.dart';
import 'package:showcaseview/showcaseview.dart';
class Demo extends StatelessWidget {
const Demo({
super.key,
});
static const showcaseKey = GlobalObjectKey('value');
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: ShowCaseWidget(
builder: Builder(
builder: (context) {
return Row(
children: [
SizedBox(
width: MediaQuery.of(context).size.width / 2,
),
Showcase(
key: showcaseKey,
description: 'Why not in one line?',
child: ElevatedButton(
child: const Text('Tips'),
onPressed: () {
ShowCaseWidget.of(context).startShowCase([
showcaseKey,
]);
},
),
),
],
);
},
),
),
),
);
}
} |
Describe the bug
getLeft and getRight return wrong result when in middle with a little offset.
Expected behavior
Text in one line.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: