neumorphic 0.4.0 copy "neumorphic: ^0.4.0" to clipboard
neumorphic: ^0.4.0 copied to clipboard

discontinued

Neumorphic UI. Implementation of Neumorphism user interface consisting of sets of principles and widgets for the Flutter framework

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:neumorphic/neumorphic.dart';
import 'screens/showcase.dart';
// import 'screens/check.dart';
// import 'screens/compare.dart';

void main() => runApp(NeumorphicApp());

Color _color = Color(0xFFf2f2f2); // Colors.grey[200]

class NeumorphicApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
      statusBarColor: Colors.transparent,
      statusBarBrightness: Brightness.light,
      statusBarIconBrightness: Brightness.dark,
      systemNavigationBarIconBrightness: Brightness.dark,
      systemNavigationBarColor: _color,
    ));

    return NeuApp(
      title: 'Neumorphic App',
      theme: NeuThemeData(
        platform: TargetPlatform.iOS,
        primarySwatch: Colors.blue,
        backgroundColor: Color.lerp(_color, Colors.black, 0.005),
        scaffoldBackgroundColor: _color,
        dialogBackgroundColor: Colors.grey[300],
        appBarTheme: AppBarTheme(
          brightness: Brightness.light,
          color: _color,
          textTheme: TextTheme(
            headline6: TextStyle(
              color: Colors.black,
              fontSize: 20,
              fontWeight: FontWeight.w500,
            ),
          ),
          iconTheme: IconThemeData(
            color: Colors.black,
          ),
        ),
      ),
      home: ShowcaseScreen(),
      // home: CheckScreen(), // (predatorx7) Used to test user issues.
    );
  }
}
copied to clipboard
228
likes
40
points
45
downloads

Publisher

verified publisherserge.software

Weekly Downloads

2024.08.08 - 2025.02.20

Neumorphic UI. Implementation of Neumorphism user interface consisting of sets of principles and widgets for the Flutter framework

Homepage

License

MIT (license)

Dependencies

characters, flutter

More

Packages that depend on neumorphic