getPreferredSize method
override
Returns the preferred size of the shape, based on the given conditions.
Implementation
@override
Size getPreferredSize(bool isEnabled, bool isDiscrete) {
return const Size(4.0, 44.0);
}
Returns the preferred size of the shape, based on the given conditions.
@override
Size getPreferredSize(bool isEnabled, bool isDiscrete) {
return const Size(4.0, 44.0);
}