flutter_native_label 0.1.0 copy "flutter_native_label: ^0.1.0" to clipboard
flutter_native_label: ^0.1.0 copied to clipboard

PlatformiOS

Flutter plugin wrapping UILabel on iOS

flutter_native_label #

License: MIT Donate

Flutter plugin wrapping UILabel. This is a workaround for

  • flutter/flutter#28894
  • flutter/flutter#95644
  • flutter/flutter#98342
  • flutter/flutter#102484
  • flutter/flutter#101569

Only iOS is supported.

Example Usage #

Scaffold(
  appBar: AppBar(
    title: const Text('Infinite list example'),
  ),
  body: CustomScrollView(
    slivers: [
      SliverList(
        delegate: SliverChildBuilderDelegate(
          (_, index) {
            return Row(
              children: [
                Flexible(
                  child: Padding(
                    padding: const EdgeInsets.all(8.0),
                    child: NativeLabel(
                      "a 👍${List.filled(index, '👍aaa').join()}",
                      decoration: BoxDecoration(
                        borderRadius: BorderRadius.circular(15.0),
                        color: Colors.green,
                      ),
                      edgeInsetLeft: 10.0,
                      edgeInsetRight: 10.0,
                      edgeInsetTop: 10.0,
                      edgeInsetBottom: 10.0,
                    ),
                  ),
                ),
              ],
            );
          },
        ),
      ),
    ],
  ),
);

Screenshots #

Screen Shot 2022-06-16 at 12 05 33 PM Screen Shot 2022-06-16 at 10 55 11 AM
1
likes
140
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin wrapping UILabel on iOS

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_native_label