This package allows developers to display compat information inside a row widget.
As a highly customizable widget, you can place as a title and description whatever you want. But the preferred way to use this package is using a
Text widget as the 'title', and another
Icon widget as the 'description' portion of the view.
You can check the of these examples down below.
If you want to take a deeper look at the example, take a look at the example folder provided with the project.
This is the vanilla widget. You can place whatever widget you want inside both
RowItem( title: Text('title'), description: Text('description'), )
The text variant simplifies the action of display text information inside the widget. It also has styles for both title and description text labels.
RowItem.text( 'title', 'description', )
You can show a boolean state (
null) using this variant of the widget. Color and size of the icon placed inside the description place are both customizable.
outline parameter to use the outlined version of each icon, instead of the default one.
RowItem.boolean( 'Displays a checked icon', true, )
This last variant makes the
description text clickable, using the
onTap parameter. If this parameters is not
null, the description text will be underlined.
RowItem.tap( 'This item is clickable', 'Tap me!', onTap: () => print("Hello world!"), )
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- Flutter - Beautiful native apps in record time.
- Android Studio - Tools for building apps on every type of Android device.
- Visual Studio Code - Code editing. Redefined.
This project is licensed under the GNU GPL v3 License - see the LICENSE file for details.