v0.0.8stickereditor
경계에 따라 텍스트와 이미지를 수정하고 이동할 수 있는 위젯입니다.
화면에서 드래그하고 확대/축소할 수 있는 스티커 위젯을 만들 수 있도록 도와주는 플러터 패키지입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A flutter plugin for iOS, Android and Mac for Rotate, Scaling, Moving and Editing Text, Photo, Stickers
| Sticker Editor | |
|---|---|
![]() |
![]() |
| Only Text | Only Photo |
|---|---|
![]() |
![]() |
A flutter package Sticker Editor which will help you to create editable and scalable text or sticker widget that can be dragged around the area you given in screen.
First, add stickereditor as a dependency in your pubspec.yaml file.
Fore NetworkImage, macOS needs you to request a specific entitlement in order to access the network. To do that open macos/Runner/DebugProfile.entitlements and add the following key-value pair.
<key>com.apple.security.network.client</key>
<true/>
StickerEditingView(
isnetwork: false,
height: 300,
width: 300,
imgUrl: backgroundImageUrl,
fonts: fonts,
palletColor: colorPallet,
assetList: stickerList,
),
Container(
height: 300,
width: 300,
color: Colors.blue,
child: Stack(
children: [
TextEditingBox(
fonts: fonts,
boundHeight: 200,
boundWidth: 100,
isSelected: true,
palletColor: colorPallet,
newText: TextModel(
name: 'Text EditingBox',
textStyle:
GoogleFonts.pacifico(fontSize: 25, color: Colwhite),
top: top,
isSelected: true,
textAlign: TextAlign.center,
scale: 1,
left: left),
),
],
),
),
Container(
height: 300,
width: 300,
color: Colors.blue,
child: Stack(
children: [
StickerEditingBox(
boundHeight: 200,
boundWidth: 200,
pictureModel: PictureModel(
isNetwork: true,
isSelected: false,
left: 50,
top: 50,
scale: 1,
stringUrl:
'https://raw.githubusercontent.com/Harsh-Radadiya/sticker_editor/master/assets/t-shirt.jpeg',
)),
],
),
)
Run the example app in the exmaple folder to find out more about how to use it.
의존성 목록 8 개
{"sdk":"flutter"}{"sdk":"flutter"}^4.3.8^2.0.0+1^1.2.3^2.0.5{"sdk":"flutter"}^1.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗