florent37 / Flutter Shapeofview
Licence: apache-2.0
Give a custom shape to any flutter widget, Material Design 2 ready
Stars: ✭ 211
Projects that are alternatives of or similar to Flutter Shapeofview
Shapeofview
Give a custom shape to any android view, Material Design 2 ready
Stars: ✭ 2,977 (+1310.9%)
Mutual labels: shape, material
Motion Shapeofview
Explain how to use MotionLayout with ShapeOfView
Stars: ✭ 236 (+11.85%)
Mutual labels: shape, material
Flutter Neumorphic
A complete, ready to use, Neumorphic ui kit for Flutter, 🕶️ dark mode compatible
Stars: ✭ 988 (+368.25%)
Mutual labels: shape, material
Music Cover View
Subclass of ImageView that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps. 📀🎶
Stars: ✭ 239 (+13.27%)
Mutual labels: shape, circle
Materialdesignsamples
Material Design 系列控件samples,讲了Material Design 系列新控件的使用方法和一些场景示例,使用详情请看对应博客,持续更新中...
Stars: ✭ 900 (+326.54%)
Mutual labels: material, behavior
Mylittlecanvas
🎨Need to create a custom view ? You don't know how to use Canvas, use MyLittleCanvas instead !
Stars: ✭ 870 (+312.32%)
Mutual labels: shape, circle
Browser Base
Modern and feature-rich web browser base based on Electron
Stars: ✭ 2,417 (+1045.5%)
Mutual labels: material
Star History
The missing star history graph of GitHub repos - https://star-history.com
Stars: ✭ 2,534 (+1100.95%)
Mutual labels: star
Vuetify Daterange Picker
The missing date range picker for Vuetify JS you have been looking for.
Stars: ✭ 192 (-9%)
Mutual labels: material
Flutter colorpicker
A HSV(HSB)/HSL color picker inspired by chrome devtools and a material color picker for your flutter app.
Stars: ✭ 185 (-12.32%)
Mutual labels: material
Covalent
Teradata UI Platform built on Angular Material
Stars: ✭ 2,230 (+956.87%)
Mutual labels: material
Circularprogressbar
Circular ProgressBar is a custom control for WinForm with animation.
Stars: ✭ 191 (-9.48%)
Mutual labels: circle
Password Strength
Angular UI library to illustrate and validate a password's strength with material design - Angular V9 supported
Stars: ✭ 186 (-11.85%)
Mutual labels: material
Android Switchicon
Google launcher-style implementation of switch (enable/disable) icon
Stars: ✭ 2,337 (+1007.58%)
Mutual labels: material
Angular Material Design Lite
A tiny Angular wrapper for Material Design Lite
Stars: ✭ 203 (-3.79%)
Mutual labels: material
Materialcalendar
A Material design calendar inspired by the CalendarView of School Diary.
Stars: ✭ 196 (-7.11%)
Mutual labels: material
Cocoatextfield
Apple TextField created according to the Material.IO guidelines of 2019. Featured at Medium.
Stars: ✭ 195 (-7.58%)
Mutual labels: material
flutter_shape_of_view
Give a custom shape to any flutter widget, Material Design 2 ready
Download
https://pub.dev/packages/shape_of_view
dependencies:
shape_of_view:
Give a custom shape to any android view Useful for Material Design 2
ShapeOfView(
shape: YOUR_SHAPE,
elevation: 4,
height: 300, //height & width are optional
child: ...
),
Use implemented shapes
ShapeOfView came with pre-created shapes :
Circle
ShapeOfView(
shape: CircleShape(
borderColor: Colors.white, //optional
borderWidth: 2, //optional
),
child: ...
RoundRect
ShapeOfView(
shape: RoundRectShape(
borderRadius: BorderRadius.circular(12),
borderColor: Colors.white, //optional
borderWidth: 2, //optional
),
child: ...
ClipCorner
ShapeOfView(
shape: CutCornerShape(
borderRadius: BorderRadius.circular(12);
),
child: ...
Arc
ShapeOfView(
shape: ArcShape(
direction: ArcDirection.Outside,
height: 20,
position: ArcPosition.Bottom
),
child: ...
)
Diagonal
ShapeOfView(
elevation: 4,
height: 300,
shape: DiagonalShape(
position: DiagonalPosition.Bottom,
direction: DiagonalDirection.Right,
angle: DiagonalAngle.deg(angle: 10)
),
child: ...
)
Triangle
ShapeOfView(
shape: TriangleShape(
percentBottom: 0.5,
percentLeft: 0,
percentRight: 0
),
child: ...,
)
Bubble
ShapeOfView(
shape: BubbleShape(
position: BubblePosition.Bottom,
arrowPositionPercent: 0.5,
borderRadius: 20,
arrowHeight: 10,
arrowWidth: 10
),
child: ...,
)
Star
ShapeOfView(
shape: StarShape(
noOfPoints: 5
),
child: ...,
)
Polygon
ShapeOfView(
shape: PolygonShape(
numberOfSides: 9
),
child: ...,
)
Use a custom Shape
ShapeOfView(
shape: CustomShape(
builder: (rect) => Path()
..moveTo(0, 0)
..close()
),
child: ...,
)
or extend Shape
class MyShape extends Shape {
@override
Path build({Rect rect, double scale}) {
return Path()
..moveTo(0, 0)
..close();
}
}
then
ShapeOfView(
shape: MyShape(),
child: ...,
)
Getting Started with Flutter
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
License
Copyright 2019 florent37, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].