neuomorphic_container 2.0.3 neuomorphic_container: ^2.0.3 copied to clipboard
A flutter widget that expresses the concept of neuomorphism in UI design.
import 'package:example/neuomorphism.dart';
import 'package:example/utils/sizeConfig.dart';
import 'package:flutter/material.dart';
import 'package:example/utils/uiData.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: UIData.appName,
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Example(),
debugShowCheckedModeBanner: false,
);
}
}
class Example extends StatelessWidget {
@override
Widget build(BuildContext context) {
SizeConfig().init(context);
return Scaffold(
body: Neuomorphism(),
);
}
}