Closed Dekhnar closed 4 years ago
Is there a way to do this ?
Currently not but I may provide a way using DayViewStyle
(something similar to this). Are you okay with that ? Or if you have a better way, feel free to make your suggestions.
I think you can expose a final DayViewBuilders builders;
as parameter, if builders are provided you use them.
typedef Builder = Widget Function(BuildContext context);
class DayViewBuilders {
final Builder hourBuilder; /// Custom Builder can overide this HoursColumn.fromHeadersWidgetState(parent: this) for example
final Builder indicatorBuilder; /// Custom Builder can overwrite `container` in createCurrentTimeCircle for example.
}
Exactly what i need thanks @Skyost.
@Dekhnar No problem, feel free to test it and report me any bug you encounter :wink:
I'm trying to customize the horizontal hour displayed in the left and the indicator. I want to be able to give my own Widget builder as parameters for creating specific createCurrentTimeRule and createCurrentTimeCircle to match my specific UI.
Is there a way to do this ?