Last updated:
0 purchases
neon x
neon_x #
A Flutter package that provides a collection of custom widgets and extensions for a neomorphic design style. This package includes custom icons, text styling options, and a timeline widget.
Features #
NxIcon: A custom widget for displaying SVG icons with optional size, color, and scale.
NxFontSize: Extension on VxTextBuilder for easy scaling of font sizes.
NxFontWeight: Extension on VxTextBuilder for setting font weights.
NxFonts: Extension on VxTextBuilder for setting custom fonts from Google Fonts.
NxTimeLine: A timeline widget with customizable colors, size, and interactive taps.
Getting started #
To use this package, add neon_x as a dependency in your pubspec.yaml file.
dependencies:
neon_x:
copied to clipboard
Usage #
NxIcon #
import 'package:neon_x/neon_x.dart';
NxIcon('assets/icon.svg', size: 24, color: Colors.blue, scaleValue: 1.2)
copied to clipboard
NxFontSize #
import 'package:neon_x/neon_x.dart';
'Hello'.text.s20.make()
copied to clipboard
NxFontWeight #
import 'package:neon_x/neon_x.dart';
'Bold Text'.text.w6.make()
copied to clipboard
NxFonts #
import 'package:neon_x/neon_x.dart';
'Text with Poppins Font'.text.poppins.make()
copied to clipboard
NxTimeLine #
import 'package:neon_x/neon_x.dart';
NxTimeLine(
currentPosition: 2,
size: 5,
filledColor: Colors.blue,
lineColor: Colors.grey,
onTap: (index) {
// Handle tap on timeline
},
)
copied to clipboard
Additional information #
Feel free to contribute or report issues on the GitHub repository.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.