mirai_dropdown_menu 0.0.6 copy "mirai_dropdown_menu: ^0.0.6" to clipboard
mirai_dropdown_menu: ^0.0.6 copied to clipboard

outdated

MiraiDevs developed the Mirai Dropdown Menu Package. Using this package, you can set a static list of objects or a list you have downloaded from an API.

example/lib/main.dart

import 'package:example/app/screens/home_screen/home_screen.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

import 'app/core/utils/app_size_config.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return LayoutBuilder(builder: (context, boxConstraints) {
      return OrientationBuilder(builder: (context, orientation) {
        /// init sizes
        AppSizeConfig.init(
          orientation: orientation,
          constraints: boxConstraints,
        );
        return MaterialApp(
          title: 'Mirai dropdown menu example',
          debugShowCheckedModeBanner: false,
          theme: ThemeData(
            primarySwatch: Colors.blue,
            primaryColor: Colors.transparent,
            textTheme: TextTheme(
              headline1: GoogleFonts.nunito(),
              button: GoogleFonts.nunito(),
            ),
          ),
          home: const HomeScreen(title: 'Mirai Dropdown menu \nExample'),
        );
      });
    });
  }
}
44
likes
0
pub points
88%
popularity

Publisher

verified publishermiraidevs.com

MiraiDevs developed the Mirai Dropdown Menu Package. Using this package, you can set a static list of objects or a list you have downloaded from an API.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on mirai_dropdown_menu