diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml
index 65a4c4d..ebfceed 100644
--- a/.idea/libraries/Dart_Packages.xml
+++ b/.idea/libraries/Dart_Packages.xml
@@ -5,174 +5,190 @@
-
+
-
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml
index 321b902..a54d004 100644
--- a/.idea/libraries/Dart_SDK.xml
+++ b/.idea/libraries/Dart_SDK.xml
@@ -1,25 +1,26 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 3268472..0fe5195 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,5 +1,8 @@
+
+
+
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 4396722..d2d0c81 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,73 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- _show
- child
- createState
- turns
- StatefulWidget
- control
- _TabControllerScope
- onShow
- DropdownMenuController
- DefaultTabController
- onHide
- _DropdownMenuState
- _onController
- DropdownState
- _DropdownHeaderState
- activeIndex
- createMenu
- maxMenuHeight
- getItemLabel
- controller
- _getHeight
- shrinkWrap
- _ensureHeight
- itemExtent
- SizedBox
- height
- getData
- getSubData
- color
- blur
-
-
- _DropdownMenuScope
- DropdownMenuController
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+
+
+
+
-
+
-
+
+
+
@@ -212,112 +76,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
@@ -329,6 +128,28 @@
1527184261136
+
+ 1621921150397
+
+
+
+ 1621921150397
+
+
+ 1621921274268
+
+
+
+ 1621921274268
+
+
+ 1637644863821
+
+
+
+ 1637644863821
+
+
@@ -340,372 +161,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/example/ios/Flutter/flutter_export_environment.sh b/example/ios/Flutter/flutter_export_environment.sh
new file mode 100755
index 0000000..26f0ba8
--- /dev/null
+++ b/example/ios/Flutter/flutter_export_environment.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+# This is a generated file; do not edit or check into version control.
+export "FLUTTER_ROOT=/Users/Ryan/Applications/flutter"
+export "FLUTTER_APPLICATION_PATH=/Users/Ryan/Projects/GymMaster/mrfussy/packages/dropdown_menu/example"
+export "COCOAPODS_PARALLEL_CODE_SIGN=true"
+export "FLUTTER_TARGET=lib/main.dart"
+export "FLUTTER_BUILD_DIR=build"
+export "FLUTTER_BUILD_NAME=1.0.0"
+export "FLUTTER_BUILD_NUMBER=1"
+export "DART_OBFUSCATION=false"
+export "TRACK_WIDGET_CREATION=true"
+export "TREE_SHAKE_ICONS=false"
+export "PACKAGE_CONFIG=.dart_tool/package_config.json"
diff --git a/example/lib/basic_menu.dart b/example/lib/basic_menu.dart
index 7d43c9e..f173658 100644
--- a/example/lib/basic_menu.dart
+++ b/example/lib/basic_menu.dart
@@ -1,20 +1,17 @@
-
import 'package:flutter/material.dart';
-class BasicMenu extends StatefulWidget{
+class BasicMenu extends StatefulWidget {
+ const BasicMenu({super.key});
+
@override
State createState() {
- return new _BasicMenuState();
+ return _BasicMenuState();
}
-
}
-class _BasicMenuState extends State{
+class _BasicMenuState extends State {
@override
Widget build(BuildContext context) {
- return new Container(
-
- );
+ return Container();
}
-
-}
\ No newline at end of file
+}
diff --git a/example/lib/config.dart b/example/lib/config.dart
index b0a8023..f661142 100644
--- a/example/lib/config.dart
+++ b/example/lib/config.dart
@@ -1,3 +1,4 @@
+// ignore_for_file: non_constant_identifier_names, constant_identifier_names
import 'dart:convert';
@@ -71,5 +72,4 @@ String FOOD_JSON =
List FOODS = json.decode(FOOD_JSON);
-
-const int FOOD_INDEX = 1;
\ No newline at end of file
+const int FOOD_INDEX = 1;
diff --git a/example/lib/fix_menu.dart b/example/lib/fix_menu.dart
index 3570913..b7c7447 100644
--- a/example/lib/fix_menu.dart
+++ b/example/lib/fix_menu.dart
@@ -186,23 +186,20 @@
// });
//}
-
import 'package:flutter/material.dart';
-class FixMenu extends StatefulWidget{
+class FixMenu extends StatefulWidget {
+ const FixMenu({super.key});
+
@override
State createState() {
- return new _FixMenuState();
+ return FixMenuState();
}
-
}
-class _FixMenuState extends State{
+class FixMenuState extends State {
@override
Widget build(BuildContext context) {
- return new Container(
-
- );
+ return Container();
}
-
-}
\ No newline at end of file
+}
diff --git a/example/lib/header_menu.dart b/example/lib/header_menu.dart
index f67c4f3..2e8f441 100644
--- a/example/lib/header_menu.dart
+++ b/example/lib/header_menu.dart
@@ -1,20 +1,17 @@
-
import 'package:flutter/material.dart';
-class HeaderMenu extends StatefulWidget{
+class HeaderMenu extends StatefulWidget {
+ const HeaderMenu({super.key});
+
@override
State createState() {
- return new _HeaderMenuState();
+ return HeaderMenuState();
}
-
}
-class _HeaderMenuState extends State{
+class HeaderMenuState extends State {
@override
Widget build(BuildContext context) {
- return new Container(
-
- );
+ return Container();
}
-
-}
\ No newline at end of file
+}
diff --git a/example/lib/main.dart b/example/lib/main.dart
index 7a5f9c1..3aae1c2 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -1,33 +1,33 @@
-import 'dart:async';
+// ignore_for_file: non_constant_identifier_names, constant_identifier_names
-import 'package:flutter/material.dart';
+import 'package:flutter/material.dart' hide DropdownMenu;
import 'package:dropdown_menu/dropdown_menu.dart';
-import 'dart:math' as math;
-import 'dart:io';
import 'dart:convert';
-void main() => runApp(new MyApp());
+void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
+ const MyApp({super.key});
+
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
- return new MaterialApp(
+ return MaterialApp(
title: 'Flutter Demo',
- theme: new ThemeData(
+ theme: ThemeData(
primarySwatch: Colors.blue, scaffoldBackgroundColor: Colors.white),
- home: new MyHomePage(title: 'Flutter Demo Home Page'),
+ home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
- MyHomePage({Key key, this.title}) : super(key: key);
+ const MyHomePage({super.key, required this.title});
final String title;
@override
- _MyHomePageState createState() => new _MyHomePageState();
+ MyHomePageState createState() => MyHomePageState();
}
const List