menu_table_switch 0.0.7 copy "menu_table_switch: ^0.0.7" to clipboard
menu_table_switch: ^0.0.7 copied to clipboard

This is a flutter package that allows you to display the menu in the form of a horizontally scrolling table.

menu_table_switch #

About :

This is a flutter package that allows you to display the menu in the form of a horizontally scrolling table.

Getting Started #

This package mainly has no requirements, and is suitable for all flutter platforms.

Features #

Menu table switch demo

Usage #

You can find a more complete example in to /example/lib/main.dart folder.

import 'package:flutter/material.dart';
import 'package:menu_table_switch/menu_table_switch.dart';

class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
          title: const Center(
        child: Text(
          'Menu table switch demo',
          style: TextStyle(fontSize: 18, fontWeight: FontWeight.w500),
        ),
      )),
      body: MenuTableSwitch(
        titles: const [], // Type List<String>. The size of the titles parameter must be equal to the size of the number of children in the children parameter

        children: [], //The display order of the children of the children parameter must be the same as that of the title parameter, to display exactly the content corresponding to the title.
      ),
    );
  }
}

Additional information #

If you encounter any problems with the package, do not hesitate to send an email to bassakendev@gmail.com. If you wish to contribute to the package for improvements and other purposes, you can fork the package, your pull request will be examined and the result will be communicated to you by the email you left.

3
likes
140
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

This is a flutter package that allows you to display the menu in the form of a horizontally scrolling table.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on menu_table_switch