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

A collection of custom Flutter widgets including TextField, AppBar, RadioButton, and DropdownButton with a consistent design system.

Remitso Widgets #

A collection of custom Flutter widgets with a consistent design system. This package provides beautifully styled and customizable widgets that follow a cohesive design language.

Features #

  • RemitsoTextField: A customizable text input field with validation and hint messages
  • RemitsoAppBar: A custom app bar with consistent styling
  • RemitsoRadioButton: A styled radio button with custom selection indicators
  • RemitsoDropdownButton: A dropdown button with custom styling and item layouts

Getting Started #

Add this to your package's pubspec.yaml file:

dependencies:
  remitso_widgets: ^0.0.1

Usage #

RemitsoTextField #

RemitsoTextField(
  title: 'Email',
  controller: _emailController,
  hintText: 'Enter your email',
  regexList: [
    RegExp(r'^[a-zA-Z0-9.]+@[a-zA-Z0-9]+\.[a-zA-Z]+'),
  ],
  hintMessages: [
    'Must be a valid email address',
  ],
);

RemitsoAppBar #

RemitsoAppBar(
  title: 'My App',
  showBackButton: true,
  actions: [
    IconButton(
      icon: Icon(Icons.settings),
      onPressed: () {},
    ),
  ],
);

RemitsoRadioButton #

RemitsoRadioButton<String>(
  value: 'option1',
  groupValue: _selectedOption,
  label: 'Option 1',
  onChanged: (value) {
    setState(() {
      _selectedOption = value;
    });
  },
);

RemitsoDropdownButton #

RemitsoDropdownButton<String>(
  value: _selectedValue,
  items: [
    DropdownMenuItem(
      value: 'item1',
      child: Text('Item 1'),
    ),
    DropdownMenuItem(
      value: 'item2',
      child: Text('Item 2'),
    ),
  ],
  onChanged: (value) {
    setState(() {
      _selectedValue = value;
    });
  },
  hint: 'Select an item',
);

Additional Information #

For more information about using this package, please visit the GitHub repository.

License #

This project is licensed under the MIT License - see the LICENSE file for details.

0
likes
125
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A collection of custom Flutter widgets including TextField, AppBar, RadioButton, and DropdownButton with a consistent design system.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on remitso_widgets