neo_mobile_kit 0.1.1
neo_mobile_kit: ^0.1.1 copied to clipboard
A mobile-first neobrutalist Flutter UI kit with theme tokens, widgets, navigation, backgrounds, and motion helpers.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:neo_mobile_kit/neo_mobile_kit.dart';
void main() {
runApp(const NeoMobileKitExample());
}
class NeoMobileKitExample extends StatelessWidget {
const NeoMobileKitExample({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: NeoTheme.buildTheme(Brightness.light),
darkTheme: NeoTheme.buildTheme(Brightness.dark),
home: const ExampleHomePage(),
);
}
}
class ExampleHomePage extends StatelessWidget {
const ExampleHomePage({super.key});
@override
Widget build(BuildContext context) {
final palette = NeoPalette.of(context);
return NeoPageShell(
background: NeoOrbBackground(specs: buildAuthOrbs(palette)),
child: NeoPanel(
color: palette.surface,
shadowColor: palette.shadowStrong,
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const NeoPill(label: 'NEO MOBILE KIT'),
const SizedBox(height: 18),
Text(
'Base mobile neobrutalista',
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
color: palette.textPrimary,
fontWeight: FontWeight.w900,
),
),
const SizedBox(height: 18),
NeoButton(
label: 'Comecar',
icon: Icons.arrow_forward_rounded,
onPressed: () {},
),
],
),
),
);
}
}