UAdminForm class abstract
Layout primitives shared by every admin form, so a field pair is responsive
by construction instead of each page re-deciding with its own isMobileWidth
branch — the thing that made two otherwise identical user forms diverge.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fields(
List< Widget> children, {double minFieldWidth = 240}) → Widget - Any number of fields laid out in as many columns as the width allows.
-
filterDialog(
BuildContext context, {required Widget title, required List< Widget> children, GlobalKey<FormState> ? formKey, double maxWidth = 420}) → Widget - The shell every admin filter dialog was hand-rolling: a titled dialog whose content scrolls, is capped to a sensible dialog width, and optionally sits in a Form.
-
pair(
BuildContext context, Widget first, Widget second, {double gap = 10}) → Widget - Two fields side by side on a wide screen, stacked on a phone.
-
sectionTitle(
String title) → Widget - A divider plus a small muted caption, used to break a long form into groups.