v1.0.5resizable_widget
사용자가 드래그하여 내부 위젯의 크기를 조정할 수 있도록 합니다. 이 패키지는 간단한 API를 포함하고 있지만, 필요 시 ResizableWidget을 유연하게 사용자 지정할 수 있습니다.
187좋아요 59.5만30일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
사용자가 드래그하여 내부 위젯의 크기를 조정할 수 있도록 해주는 플러터 패키지입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
ResizableWidget enables users to resize the internal widgets by dragging.
This package contains simple APIs, but if needed, you can customize ResizableWidget flexibly.
Shows a simple code example below.
import 'package:flutter/material.dart';
import 'package:resizable_widget/resizable_widget.dart';
class MyPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: ResizableWidget(
children: [ // required
Container(color: Colors.greenAccent),
Container(color: Colors.yellowAccent),
Container(color: Colors.redAccent),
],
isHorizontalSeparator: false, // optional
isDisabledSmartHide: false, // optional
separatorColor: Colors.white12, // optional
separatorSize: 4, // optional
percentages: [0.2, 0.5, 0.3], // optional
onResized: (infoList) => // optional
print(infoList.map((x) => '(${x.size}, ${x.percentage}%)').join(", ")),
),
);
}
}
https://pub.dev/packages/resizable_widget
https://pub.dev/documentation/resizable_widget/latest/resizable_widget/resizable_widget-library.html
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0-0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗