babstrap_settings_screen 0.0.2 copy "babstrap_settings_screen: ^0.0.2" to clipboard
babstrap_settings_screen: ^0.0.2 copied to clipboard

outdated

This package helps you to display a nice settings screen with Flutter in a very simple and fast way. Use it to have MVP right now.

Babstrap settings screen #

This package helps you to display a nice settings screen with Flutter in a very simple and fast way.

Compatible with Android & iOS & Web.

Version 1.0.0 Licence MIT Twitter

Showcase #

settingsscreenpreview

Getting started #

  • add the following dependency in your pubspact.yaml file:
dependencies:
  babstrap_settings_screen : "^lastest_version"
  • add import in your dart code:
import 'package:babstrap_settings_screen/babstrap_settings_screen.dart';
  • Example
Padding(
  padding: const EdgeInsets.all(10),
  child: ListView(
    children: [
      SettingsGroup(
        items: [
          SettingsItem(
            onTap: () {},
            icons: CupertinoIcons.pencil_outline,
            iconStyle: IconStyle(),
            title: 'Appearance',
            subtitle: "Make Ziar'App yours",
          ),
          SettingsItem(
            onTap: () {},
            icons: Icons.dark_mode_rounded,
            iconStyle: IconStyle(
              iconsColor: Colors.white,
              withBackground: true,
              backgroundColor: Colors.red,
            ),
            title: 'Dark mode',
            subtitle: "Automatic",
            trailing: Switch.adaptive(
              value: false,
              onChanged: (value) {},
            ),
          ),
        ],
      ),
      SettingsGroup(
        items: [
          SettingsItem(
            onTap: () {},
            icons: Icons.info_rounded,
            iconStyle: IconStyle(
              backgroundColor: Colors.purple,
            ),
            title: 'About',
            subtitle: "Learn more about Ziar'App",
          ),
        ],
      ),
      // You can add a settings title
      SettingsGroup(
        settingsGroupTitle: "Account",
        items: [
          SettingsItem(
            onTap: () {},
            icons: Icons.exit_to_app_rounded,
            title: "Sign Out",
          ),
          SettingsItem(
            onTap: () {},
            icons: CupertinoIcons.delete_solid,
            title: "Delete account",
            titleStyle: TextStyle(
              color: Colors.red,
              fontWeight: FontWeight.bold,
            ),
          ),
        ],
      ),
    ],
  ),
),

Licence #

Licence MIT

118
likes
0
pub points
92%
popularity

Publisher

unverified uploader

This package helps you to display a nice settings screen with Flutter in a very simple and fast way. Use it to have MVP right now.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on babstrap_settings_screen