Skip to content

Not able to show inlineWidget in TabBarView #129

@FrozenLance

Description

@FrozenLance

Using this in TabBarView

SizedBox(
width: 100,
height: 200,
child:
dayNightPicker.showPicker(
dialogInsetPadding: const EdgeInsets.symmetric(
horizontal: 20.0, vertical: 24.0),
width: 100,
height: 200,
amLabel: "AM",
pmLabel: "PM",
isInlinePicker: true,
cancelText: S.of(context).cancel,
okText: S.of(context).ok,
displayHeader: false,
context: context,
value: Time.fromTimeOfDay(TimeOfDay.now(), null),
// optional
duskSpanInMinutes: 120, // optional
onChange: (Time) {
print("$Time");
},
onChangeDateTime: (dateTime) {
if (dateTime != null) {
final DateTime selectedTime = pickUpTime.copyWith(
hour: dateTime.hour, minute: dateTime.minute);

                          pickUpTime = selectedTime;

                 
                          _updateOnChanges(
                              input: CarInput.pickupTime,
                              val: selectedTime);
                        }

                        setState(() {});
                      }),
   
                ),

i have to rely on without inline one please guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions