material_neumorphic_app_bar 1.2.2 copy "material_neumorphic_app_bar: ^1.2.2" to clipboard
material_neumorphic_app_bar: ^1.2.2 copied to clipboard

A Flutter package for creating Neumorphic AppBar.

Material Neumorphic AppBar #

Part of Material Neumorphic widgets suit.

Usage #

Neumorphic style AppBar, params are the same as AppBar.

NeumorphicAppBar(
    leading: _showLeading
        ? NeumorphicButton(
            style: NeumorphicStyle(color: theme.colorScheme.primary),
            onPressed: () {
                // Navigator.of(context).pop();
            },
            child: const Icon(Icons.menu))
        : null,
    actionSpacing: 10,
    actions: _showActions
        ? [
            NeumorphicButton(
                style: NeumorphicStyle(color: theme.colorScheme.primary),
                onPressed: () {
                    // Navigator.of(context).pop();
                },
                child: const Icon(Icons.message_rounded)),
            NeumorphicButton(
                style: NeumorphicStyle(color: theme.colorScheme.primary),
                onPressed: () {
                    // Navigator.of(context).pop();
                },
                child: const Icon(Icons.account_circle))
            ]
        : null,
    title: Text(
        'Neumorphic AppBar',
        style: theme.textTheme.titleLarge!.copyWith(
            color: theme.colorScheme.onPrimary,
        ),
    ),
),