Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 672 Bytes

widgets.md

File metadata and controls

30 lines (23 loc) · 672 Bytes

widgets

CourtesyWidget
Create a widget for no data available, with material design style.
Spacing
Create a spacing between widgets.
TwoWayBindingBuilder
final binding = TwoWayBinding<String>();
TwoWayBindingBuilder<String>(
  binding: binding,
  builder: (context, controller, data, onChanged, error) => TextField(
    controller: controller,
    onChanged: onChanged,
    decoration: InputDecoration(
      errorText: error?.localizedString(context),
    ),
  ),
),