updated and added dropdownbutton
This commit is contained in:
parent
70c8ac1876
commit
20f20218e0
@ -53,7 +53,7 @@ dependencies:
|
|||||||
lottie: ^1.4.3
|
lottie: ^1.4.3
|
||||||
rive: ^0.9.1
|
rive: ^0.9.1
|
||||||
animated_background: ^2.0.0
|
animated_background: ^2.0.0
|
||||||
dropdown_button2: ^1.8.9
|
dropdown_button2: ^1.9.4
|
||||||
home_widget: ^0.1.6
|
home_widget: ^0.1.6
|
||||||
flutter_expandable_fab: ^2.0.0
|
flutter_expandable_fab: ^2.0.0
|
||||||
uni_links: ^0.5.1
|
uni_links: ^0.5.1
|
||||||
|
@ -31,6 +31,7 @@ import 'home_page.i18n.dart';
|
|||||||
import 'package:filcnaplo/ui/filter/widgets.dart';
|
import 'package:filcnaplo/ui/filter/widgets.dart';
|
||||||
import 'package:filcnaplo/ui/filter/sort.dart';
|
import 'package:filcnaplo/ui/filter/sort.dart';
|
||||||
import 'package:i18n_extension/i18n_extension.dart';
|
import 'package:i18n_extension/i18n_extension.dart';
|
||||||
|
import 'package:dropdown_button2/dropdown_button2.dart';
|
||||||
|
|
||||||
class HomePage extends StatefulWidget {
|
class HomePage extends StatefulWidget {
|
||||||
const HomePage({super.key});
|
const HomePage({super.key});
|
||||||
@ -174,6 +175,19 @@ class HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
|||||||
_liveCardAnimation.animateTo(_liveCard.show ? 1.0 : 0.0);
|
_liveCardAnimation.animateTo(_liveCard.show ? 1.0 : 0.0);
|
||||||
|
|
||||||
setGreeting();
|
setGreeting();
|
||||||
|
//for extra filters
|
||||||
|
|
||||||
|
final List<String> items = [
|
||||||
|
'Item1',
|
||||||
|
'Item2',
|
||||||
|
'Item3',
|
||||||
|
'Item4',
|
||||||
|
'Item5',
|
||||||
|
'Item6',
|
||||||
|
'Item7',
|
||||||
|
'Item8',
|
||||||
|
];
|
||||||
|
String? selectedValue;
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: Stack(
|
body: Stack(
|
||||||
@ -252,7 +266,6 @@ class HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
shadowColor: Colors.black,
|
shadowColor: Colors.black,
|
||||||
|
|
||||||
// Filter Bar
|
// Filter Bar
|
||||||
bottom: FilterBar(
|
bottom: FilterBar(
|
||||||
items: [
|
items: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user