flutter_native_label 0.0.2+1 copy "flutter_native_label: ^0.0.2+1" to clipboard
flutter_native_label: ^0.0.2+1 copied to clipboard

Flutter plugin wrapping UILabel on iOS

flutter_native_label #

License: MIT Donate

Flutter plugin wrapping UILabel on iOS. This is a workaround for flutter/flutter#28894.

Other platforms are not supported.

Example Usage #

  ListView.builder(
    padding: const EdgeInsets.only(top: 16.0, bottom: 16.0),
    itemBuilder: (_, index) {
      return Container(
        margin: EdgeInsets.all(8.0),
        child: NativeLabel(
          '''Demo 👍👍👍👍 👍👍👍👍 Multiline 👍👍👍😊😊😊 👍👍👍 '''
          '$index ${List.filled(index, '👍').join()}\n',
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(15.0),
          color: Colors.white,
        ),
        edgeInsetTop: 10.0,
        edgeInsetLeft: 10.0,
        edgeInsetBottom: 10.0,
        edgeInsetRight: 10.0,
        lineSpacing: 20.0,
        kern: 5.0,
        copyable: true,
      ),
    );
  },

Video #

https://user-images.githubusercontent.com/394889/167484748-bc01b3dd-fce5-45d1-9d1f-e7521bfd9a4b.mov

1
likes
0
pub points
41%
popularity

Publisher

unverified uploader

Flutter plugin wrapping UILabel on iOS

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_native_label