File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
import 'package:flutter/material.dart' ;
2
2
import 'package:generic_dropdown_widget/generic_dropdown_widget.dart' ;
3
3
4
- class Dropdown extends StatelessWidget {
4
+ final class Dropdown extends StatelessWidget {
5
5
const Dropdown ({super .key});
6
6
7
7
@override
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ enum DropdownDirection {
78
78
/// content. The [contentBuilder] receives a "repaint" and a
79
79
/// "close" callbacks, which can help updating the content
80
80
/// or closing the content entirely.
81
- class GenericDropdown extends StatefulWidget {
81
+ final class GenericDropdown extends StatefulWidget {
82
82
/// The anchor of the dropdown. Defines
83
83
/// on which point of the toggle the content
84
84
/// will be anchored. Defaults to [DropdownAnchor.bottomLeft] .
@@ -132,7 +132,7 @@ class GenericDropdown extends StatefulWidget {
132
132
State <GenericDropdown > createState () => _GenericDropdownState ();
133
133
}
134
134
135
- class _GenericDropdownState extends State <GenericDropdown > {
135
+ final class _GenericDropdownState extends State <GenericDropdown > {
136
136
var _isOpen = false ;
137
137
OverlayEntry ? _overlayEntry;
138
138
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import 'package:flutter/widgets.dart';
12
12
/// at the wrong position. With this config, the dropdown can
13
13
/// utilize the root storybook as root screen key to calculate
14
14
/// the position of the content.
15
- class GenericDropdownConfigProvider extends InheritedWidget {
15
+ final class GenericDropdownConfigProvider extends InheritedWidget {
16
16
/// The key of the root screen that contains the dropdown.
17
17
/// The screen is used to calculate the relative position
18
18
/// of the content overlay to the toggle.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ issue_tracker: https://github.com/smartive/flutter-generic-dropdown-widget/issue
7
7
repository : https://github.com/smartive/flutter-generic-dropdown-widget.git
8
8
9
9
environment :
10
- sdk : ' >=2.19.3 <3 .0.0'
10
+ sdk : ' >=3.0.0 <4 .0.0'
11
11
flutter : ' >=1.17.0'
12
12
13
13
dependencies :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
4
4
version : 1.0.0+1
5
5
6
6
environment :
7
- sdk : ' >=2.19.3 <3 .0.0'
7
+ sdk : ' >=3.0.0 <4 .0.0'
8
8
9
9
dependencies :
10
10
flutter :
You can’t perform that action at this time.
0 commit comments