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

Feature request: Ability to use without modal popup #1

Open
natgross opened this issue Jul 14, 2023 · 0 comments
Open

Feature request: Ability to use without modal popup #1

natgross opened this issue Jul 14, 2023 · 0 comments

Comments

@natgross
Copy link

I am trying to use the class itself, inline, without the modal like this: (Nice job, by the way.)

Container(
            height: 150,
            child: CupertinoHebrewDatePicker(
              initialDate: DateTime.now(),
              context: context,
              onConfirm: (dateTime) {
                print('Hey! OnConfirm Hello. $dateTime');
              },
              onDateChanged: (dateTime) {
                print('Hey! OnDateChanged Hello. $dateTime');
              },
              confirmText: "ConfirmText",
              confirmTextStyle: null,
              todaysDateTextStyle: null,
            ),
          ),

I want it to display continuously in the gui (based on other booleans defined in the app).
Everything is fine and dandy, EXCEPT for the confirm button, which is not needed nor wanted - in this case.
Also the Todays date button is not wanted in this case. (Provided elsewhere in my gui.)

Basically to make this use-case also a first class citizen. The fields should be much narrower, etc. Like the basic CupertinoDatePicker.

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

No branches or pull requests

1 participant