Skip to content

Commit

Permalink
docs: Add missing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
enrique-lozano committed Jan 9, 2025
1 parent 2a57c40 commit d01b59a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/core/presentation/widgets/monekin_dropdown_select.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,17 @@ class MonekinDropdownSelect<T> extends StatefulWidget {
final BoxConstraints textConstraints;

@override
State<MonekinDropdownSelect> createState() =>
_MonekinDropdownSelectState<T>();
State<MonekinDropdownSelect> createState() => MonekinDropdownSelectState<T>();
}

class _MonekinDropdownSelectState<T> extends State<MonekinDropdownSelect<T>> {
/// State of the `MonekinDropdownSelect` component. Use it for creating a key and open the dropdown programatically:
///
///
///```
/// late GlobalKey<MonekinDropdownSelectState>? _dropdownKey = GlobalKey();
/// _dropdownKey!.currentState!.openDropdown();
///```
class MonekinDropdownSelectState<T> extends State<MonekinDropdownSelect<T>> {
T? currentValue;

late final GlobalKey _dropdownButtonKey = GlobalKey();
Expand Down

0 comments on commit d01b59a

Please sign in to comment.