Skip to content
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

📝 added analysis options and refactor code to follow analysis options. #14

Conversation

ParthBaraiya
Copy link
Collaborator

No description provided.

Copy link

@DevarshRanpara DevarshRanpara left a comment

Choose a reason for hiding this comment

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

@ParthBaraiya I have seen, we removed MainAxisSize, MainAxisAlignment and CrossAxisAlignment,
Could you let me know why we made those changes?

@@ -104,15 +105,11 @@ class InternalWeekViewPage<T> extends StatelessWidget {
height: height + weekTitleHeight,
width: width,
child: Column(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,

Choose a reason for hiding this comment

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

Why we removed MainAxisSize and MainAxisAlignment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Values we provided as arguments are default values for Column. So whether we provide it or not doesn't matter.

crossAxisAlignment: CrossAxisAlignment.end,
children: [
SizedBox(
width: width,
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,

Choose a reason for hiding this comment

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

Why we removed MainAxisSize and MainAxisAlignment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Values we provided as arguments are default values for Row. So whether we provide it or not doesn't matter.

@@ -116,9 +116,6 @@ class FilledCell<T> extends StatelessWidget {
return Container(
color: backgroundColor,
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
children: [

Choose a reason for hiding this comment

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

Why we removed MainAxisSize, MainAxisAlignment and CrossAxisAlignment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Values we provided as arguments are default values for Column. So whether we provide it or not doesn't matter.

@@ -149,8 +146,6 @@ class FilledCell<T> extends StatelessWidget {
physics: BouncingScrollPhysics(),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.start,

Choose a reason for hiding this comment

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

Why we removed MainAxisAlignment and CrossAxisAlignment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Values we provided as arguments are default values for Column. So whether we provide it or not doesn't matter.

@@ -166,7 +161,6 @@ class FilledCell<T> extends StatelessWidget {
padding: const EdgeInsets.all(2.0),
alignment: Alignment.center,
child: Row(
mainAxisSize: MainAxisSize.max,

Choose a reason for hiding this comment

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

Why we removed MainAxisSize?

Copy link
Collaborator Author

@ParthBaraiya ParthBaraiya Sep 9, 2021

Choose a reason for hiding this comment

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

Values we provided as arguments are default values for Row. So whether we provide it or not doesn't matter.

Copy link

@DevarshRanpara DevarshRanpara left a comment

Choose a reason for hiding this comment

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

LGTM

@vatsaltanna-simformsolutions vatsaltanna-simformsolutions merged commit 2adff4b into SimformSolutionsPvtLtd:master Sep 9, 2021
@ParthBaraiya ParthBaraiya deleted the feature/add_analysis_options branch September 9, 2021 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants