fsuper library

Copyright 1999-2020 Fliggy Android Team alitrip_android@list.alibaba-inc.com.

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 following link.

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.

Classes

FCorner
为组件设置边角。
FGroupController
FShadow
FShape
FSuper
FSuper 是一个强大的组件,能够支持富文本、圆角、边框、图片、小红点、以及同时设置多达两个子组件,且能够通过相对位置控制它们。 FSuper 能够帮助开发者快速舒适的构建复杂视图。

Typedefs

FBorderForStateCallback = Border Function(Widget sender, FState state)
FChildForStateCallback = Widget Function(Widget sender, FState state)
FColorForStateCallback = Color Function(Widget sender, FState state)
FGradientForStateCallback = Gradient Function(Widget sender, FState state)
FGroupContorllerClickCallback = List<Color> Function(Widget? stateChanged, bool selected, List<Widget> widgets)
FOnTapCallback = void Function(Widget sender, bool checked)
FOnTapCancelCallback = void Function(Widget sender, bool checked)
FOnTapDownCallback = void Function(Widget sender, bool checked)
FOnTapUpCallback = void Function(Widget sender, bool checked)
FShapeForStateCallback = FShape Function(Widget sender, FState state)
FSurfaceForStateCallback = FSurface Function(Widget sender, FState state)
FTapEventForStateCallback = void Function(Widget sender, FState state, bool checked)