material_neumorphic_theme 1.1.3 copy "material_neumorphic_theme: ^1.1.3" to clipboard
material_neumorphic_theme: ^1.1.3 copied to clipboard

A Flutter package for creating Neumorphic theme. Use material colorscheme to set neumorphic theme colors.

Material Neumorphic Theme #

Part of Material Neumorphic widgets suit.

Use for set Neumorphic Theme, like color, depth, intensity, lightSource, etc.

Usage #

final colorScheme = ColorScheme.fromSeed(
    brightness: Brightness.light,
    seedColor: NeumorphicTheme.defaultSeedColor);

final darkColorScheme = ColorScheme.fromSeed(
    brightness: Brightness.dark,
    seedColor: NeumorphicTheme.defaultSeedColor);

return MaterialApp(
    debugShowCheckedModeBanner: false,
    title: 'Neumorphic Theme Demo',
    theme: ThemeData(
        colorScheme: colorScheme,
        useMaterial3: true,
    ).copyWith(
        extensions: <ThemeExtension<dynamic>>[
            const NeumorphicTheme().fitWithColorSchema(colorScheme),
        ],
    ),
    darkTheme: ThemeData(
        colorScheme: darkColorScheme,
        useMaterial3: true,
    ).copyWith(
        extensions: <ThemeExtension<dynamic>>[
            const NeumorphicTheme().fitWithColorSchema(darkColorScheme),
        ],
    ),
    home: const MyHomePage(),
);
0
likes
120
pub points
36%
popularity

Publisher

verified publishergsmlg.dev

A Flutter package for creating Neumorphic theme. Use material colorscheme to set neumorphic theme colors.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on material_neumorphic_theme