Skip to content

Conflict of DatePickerTheme Import Names Causing Build Errors #338

@cguarchaj

Description

@cguarchaj

I am experiencing build errors related to the DatePickerTheme import in the flutter_datetime_picker package. It seems there's a conflict because DatePickerTheme is imported from both package:flutter/src/material/date_picker_theme.dart and package:flutter_datetime_picker/src/datetime_picker_theme.dart. This conflict prevents the package from being used as it generates an error on build. Here are the error messages I receive:

  1. Error: 'DatePickerTheme' is imported from both 'package:flutter/src/material/date_picker_theme.dart' and 'package:flutter_datetime_picker/src/datetime_picker_theme.dart'.

Could a resolution involve modifying the internal imports within the package or is there an alternative fix available?

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