retcore 0.0.1 copy "retcore: ^0.0.1" to clipboard
retcore: ^0.0.1 copied to clipboard

RetCore is a Flutter package that provides essential components designed to simplify coding for beginners. With user-friendly utilities and tools, RetCore helps new developers write cleaner, more effi [...]

RetCore #

RetCore is a Flutter package that provides essential components designed to simplify coding for beginners. With user-friendly utilities and tools, RetCore helps new developers write cleaner, more efficient code with ease. Perfect for those just starting their coding journey, RetCore provides the building blocks needed to develop robust applications.


๐Ÿš€ Installation #

Add this to your pubspec.yaml:

retcore:
  git:
    url: https://github.com/samiulhaquereal/RetCore.git

๐Ÿ“ฆ Import #

import 'package:retcore/retcore.dart';

โœจ Features #

Widgets #

  • RetCoreButton
  • RetCoreActivityDetector
  • RetCoreCarousel
  • RetCoreChipInputField
  • RetCoreCircularProgressBar
  • RetCoreDropdownField
  • RetCoreFadeAnimation
  • RetCoreFlipAnimation
  • RetCoreGlassmorphism
  • RetCoreLinearProgressBar
  • RetCoreNeumorphism
  • RetCoreOTPField
  • RetCoreParallaxCarousel
  • RetCoreTextField
  • RetCoreApiClient

Utilities #

Use with RetCore. prefix, for example: RetCore.space(10);

๐Ÿ“ Layout & Device

  • space(double value)
  • width(), height()
  • getDeviceInfo()
  • getOS()
  • isMobile(), isTablet(), isDesktop()

๐Ÿ“… Date & Time

  • getDateBangla(), getDateEnglish()
  • getDayBangla(), getDayEnglish()
  • getDayNameBangla(), getDayNameEnglish()
  • getMonthNameBangla(), getMonthNameEnglish()
  • getMonthNumberBangla(), getMonthNumberEnglish()
  • getTimeBangla(), getYearBangla(), getYearEnglish()

๐Ÿง  Converters & Tools

  • convertIntoBanglaDigit(String number)
  • parseBool(), parseInt(), parseDouble()
  • parseColor(), parseDateTime(), parseString()
  • parseList(), parseInputType(), parseKeyboardType()
  • removeNullValues(Map)
  • formatNumber(num)
  • emptyFieldCheck(List<TextEditingController>)

๐Ÿ“ฆ Data Storage

  • getData(String key)
  • setData(String key, dynamic value)
  • removeData(String key)

๐Ÿงพ Navigation & UI

  • to(Widget page), back(Widget page)
  • dialogBox(), bottomDialogBox(), bottomsheet()
  • snackbar(), showSnackbar()

โšก System

  • fileDownload(String url)
  • debounce(String key, Function)
  • getRootDeviceStatus()

๐Ÿ” Auto Session & Touch

  • startAutoSession()
  • startTouchDetection()
  • stopTouchDetectionAndAutoSession()

๐Ÿงพ RetCoreTextField #

๐Ÿ”‘ Key Features #

  • Easily design custom text fields.
  • One toggle to enable date picker.
  • One toggle to enable password input.
  • Built-in validation support.

๐Ÿ’ก Examples #

Basic TextField

RetCoreTextField(
  controller: TextEditingController(),
  isBorder: true,
  label: 'Name',
  labelColor: Colors.grey,
  labelSize: 18,
  inputFontSize: 22,
  isPrefixIcon: true,
  icon: CupertinoIcons.person,
  focusedColor: Colors.red,
)

Date Picker Field

RetCoreTextField(
  controller: TextEditingController(),
  isBorder: true,
  isDatePicker: true,
)

Password Field

RetCoreTextField(
  controller: TextEditingController(),
  isBorder: true,
  label: 'Password',
  isPasswordField: true,
)

Validation

RetCoreTextField(
  controller: TextEditingController(),
  isBorder: true,
  label: 'Password',
  isPasswordField: true,
  isRequired: true,
  validator: () {
    // Custom validation logic
  },
)

๐Ÿ“œ Changelog #

CHANGELOG


3
likes
100
points
17
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

RetCore is a Flutter package that provides essential components designed to simplify coding for beginners. With user-friendly utilities and tools, RetCore helps new developers write cleaner, more efficient code with ease. Perfect for those just starting their coding journey, RetCore provides the building blocks needed to develop robust applications effortlessly.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

device_info_plus, flutter, flutter_svg, http, intl, lottie, path_provider, permission_handler, shared_preferences

More

Packages that depend on retcore