pixel_perfect_ui library

Classes

AlertDialog
A Material Design alert dialog.
Align
Alignment
A point within a rectangle.
AnimatedBuilder
AnimatedContainer
AnimatedOpacity
Animation<T>
A value which might change over time, moving forward or backward.
AnimationController
A controller for an animation.
AppBar
AppBarTheme
Overrides the default values of visual properties for descendant AppBar widgets.
Border
A border of a box, comprised of four sides: top, right, bottom, left.
BorderRadius
An immutable set of radii for each corner of a rectangle.
BorderSide
A side of a border of a box.
BoxConstraints
Immutable layout constraints for RenderBox layout.
BoxDecoration
An immutable description of how to paint a box.
BoxShadow
A shadow cast by a box.
BuildContext
A handle to the location of a widget in the widget tree.
ButtonStyle
The visual properties that most buttons have in common.
Card
Center
Chip
ChipThemeData
Holds the color, shape, and text styles for a Material Design chip theme.
CircleAvatar
A circle that represents a user.
CircularProgressIndicator
ClipRRect
A widget that clips its child using a rounded rectangle.
Color
An immutable color value in ARGB format.
Colors
Color and ColorSwatch constants which represent Material design's color palette.
ColorScheme
A set of 45 colors based on the Material spec that can be used to configure the color properties of most components.
Column
CompositedTransformFollower
CompositedTransformTarget
A widget that can be targeted by a CompositedTransformFollower.
ConstrainedBox
Container
CurvedAnimation
An animation that applies a curve to another animation.
Curves
A collection of common animation curves.
CustomButton
CustomCard
CustomScrollView
A ScrollView that creates custom scroll effects using slivers.
DatePickerThemeData
Overrides the default values of visual properties for descendant DatePickerDialog widgets.
DetailRow
Divider
DividerThemeData
Defines the visual properties of Divider, VerticalDivider, dividers between ListTiles, and dividers between rows in DataTables.
DraggableScrollableSheet
An item in a menu created by a DropdownButton.
EdgeInsets
An immutable set of offsets in each of the four cardinal directions.
ElevatedButton
ElevatedButtonThemeData
A ButtonStyle that overrides the default appearance of ElevatedButtons when it's used with ElevatedButtonTheme or with the overall Theme's ThemeData.elevatedButtonTheme.
Expanded
FilledButton
A Material Design filled button.
FilledButtonThemeData
A ButtonStyle that overrides the default appearance of FilledButtons when it's used with FilledButtonTheme or with the overall Theme's ThemeData.filledButtonTheme.
FilterChip
FittedBox
Flexible
FloatingActionButton
FloatingActionButtonThemeData
Defines default property values for descendant FloatingActionButton widgets.
FocusNode
An object that can be used by a stateful widget to obtain the keyboard focus and to handle keyboard events.
FontWeight
The thickness of the glyphs used to draw the text.
FutureBuilder<T>
A widget that builds itself based on the latest snapshot of interaction with a Future.
GestureDetector
GlobalKey<T extends State<StatefulWidget>>
A key that is unique across the entire app.
GridView
Icon
IconButton
IconButtonThemeData
A ButtonStyle that overrides the default appearance of IconButtons when it's used with the IconButton, the IconButtonTheme or the overall Theme's ThemeData.iconButtonTheme.
IconData
A description of an icon fulfilled by a font glyph.
Icons
Identifiers for the supported Material Icons.
Image
A widget that displays an image.
InkWell
InputBorder
Defines the appearance of an InputDecorator's border.
InputChip
InputDecoration
The border, labels, icons, and styles used to decorate a Material Design text field.
InputDecorationTheme
Defines the default appearance of InputDecorators.
An object that a LeaderLayer can register with.
LinearGradient
A 2D linear gradient.
ListTile
ListTileThemeData
Used with ListTileTheme to define default property values for descendant ListTile widgets, as well as classes that build ListTiles, like CheckboxListTile, RadioListTile, and SwitchListTile.
ListView
Material
MaterialApp
An application that uses Material Design.
MaterialPageRoute<T>
A modal route that replaces the entire screen with a platform-adaptive transition.
MediaQuery
Establishes a subtree in which media queries resolve to the given data.
Defines default property values for descendant NavigationBar widgets.
A Material 3 NavigationBar destination.
A widget that manages a set of child widgets with a stack discipline.
The state for a Navigator widget.
NestedScrollView
NotificationListener<T extends Notification>
Offset
An immutable 2D floating-point offset.
OutlinedButton
A Material Design "Outlined Button"; essentially a TextButton with an outlined border.
OutlineInputBorder
Draws a rounded rectangle around an InputDecorator's container.
Overlay
A stack of entries that can be managed independently.
OverlayEntry
A place in an Overlay that can contain a widget.
Padding
PopScope<T>
Manages back navigation gestures.
Positioned
A widget that controls where a child of a Stack is positioned.
PreferredSize
A widget with a preferred size.
Radius
A radius for either circular or elliptical shapes.
Rect
An immutable, 2D, axis-aligned, floating-point rectangle whose coordinates are relative to a given origin.
RefreshIndicator
A widget that supports the Material "swipe to refresh" idiom.
RelativeRect
An immutable 2D, axis-aligned, floating-point rectangle whose coordinates are given relative to another rectangle's edges, known as the container. Since the dimensions of the rectangle are relative to those of the container, this class has no width and height members. To determine the width or height of the rectangle, convert it to a Rect using toRect() (passing the container's own Rect), and then examine that object.
RenderBox
A render object in a 2D Cartesian coordinate system.
RichText
RoundedRectangleBorder
A rectangular border with rounded corners.
RoundSliderOverlayShape
The default shape of a Slider's thumb overlay.
RoundSliderThumbShape
The default shape of a Slider's thumb.
Row
SafeArea
Scaffold
ScaffoldMessenger
Manages SnackBars and MaterialBanners for descendant Scaffolds.
Scrollbar
A Material Design scrollbar.
ScrollController
Controls a scrollable widget.
ScrollNotification
A Notification related to scrolling.
SingleChildScrollView
Size
Holds a 2D floating-point size.
SizedBox
A box with a specified size.
Slider
SliderTheme
SliderThemeData
Holds the color, shape, and typography values for a Material Design slider theme.
SliverAppBar
SliverChildBuilderDelegate
A delegate that supplies children for slivers using a builder callback.
SliverList
A sliver that places multiple box children in a linear array along the main axis.
SnackBar
A lightweight message with an optional action which briefly displays at the bottom of the screen.
Spacer
Stack
State<T extends StatefulWidget>
The logic and internal state for a StatefulWidget.
StatefulWidget
A widget that has mutable state.
StatelessWidget
A widget that does not require mutable state.
StreamBuilder<T>
Widget that builds itself based on the latest snapshot of interaction with a Stream.
Text
TextAlignVertical
The vertical alignment of text within an input box.
TextButton
TextButtonThemeData
A ButtonStyle that overrides the default appearance of TextButtons when it's used with TextButtonTheme or with the overall Theme's ThemeData.textButtonTheme.
TextDecoration
A linear decoration to draw near the text.
TextEditingController
A controller for an editable text field.
TextField
TextPosition
A position in a string of text.
TextSelection
A range of text that represents a selection.
TextSpan
An immutable span of text.
TextStyle
An immutable style describing how to format and paint text.
TextTheme
Material design text theme.
Theme
Applies a theme to descendant widgets.
ThemeData
Defines the configuration of the overall visual Theme for a MaterialApp or a widget subtree within the app.
Transform
A widget that applies a transformation before painting its child.
Tween<T extends Object?>
A linear interpolation between a beginning and ending value.
UnderlineInputBorder
Draws a horizontal line at the bottom of an InputDecorator's container and defines the container's shape.
ValueListenableBuilder<T>
ValueNotifier<T>
A ChangeNotifier that holds a single value.
VisualDensity
Defines the visual density of user interface components.
Widget
Describes the configuration for an Element.
WidgetsFlutterBinding
A concrete binding for applications based on the Widgets framework.
WidgetStateProperty<T>
Interface for classes that resolve to a value of type T based on a widget's interactive "state", which is defined as a set of WidgetStates.
WidgetStatePropertyAll<T>
Convenience class for creating a WidgetStateProperty that resolves to the given value for all states.
Wrap

Enums

Axis
The two cardinal directions in two dimensions.
BoxFit
How a box should be inscribed into another box.
BoxShape
The shape to use when rendering a Border or BoxDecoration.
Brightness
Describes the contrast of a theme or color palette.
ConnectionState
The state of connection to an asynchronous computation.
CrossAxisAlignment
How the children should be placed along the cross axis in a flex layout.
FontStyle
Whether to use the italic type variation of glyphs in the font.
HitTestBehavior
How to behave during hit tests.
MainAxisAlignment
How the children should be placed along the main axis in a flex layout.
MainAxisSize
How much space should be occupied in the main axis.
Specifies when each NavigationDestination's label should appear.
StackFit
How to size the non-positioned children of a Stack.
TextAlign
Whether and how to align text horizontally.
TextBaseline
A horizontal line used for aligning text.
TextOverflow
How overflowing text should be handled.

Mixins

SingleTickerProviderStateMixin<T extends StatefulWidget>
Provides a single Ticker that is configured to only tick while the current tree is enabled, as defined by TickerMode.
WidgetsBinding
The glue between the widgets layer and the Flutter engine.

Constants

kBottomNavigationBarHeight → const double
The height of the bottom navigation bar.

Functions

runApp(Widget app) → void
Inflate the given widget and attach it to the view.
showDialog<T>({required BuildContext context, required WidgetBuilder builder, bool barrierDismissible = true, Color? barrierColor, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior, bool? requestFocus, AnimationStyle? animationStyle}) Future<T?>
Displays a Material dialog above the current contents of the app, with Material entrance and exit animations, modal barrier color, and modal barrier behavior (dialog is dismissible with a tap on the barrier).
showModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, Color? backgroundColor, String? barrierLabel, double? elevation, ShapeBorder? shape, Clip? clipBehavior, BoxConstraints? constraints, Color? barrierColor, bool isScrollControlled = false, double scrollControlDisabledMaxHeightRatio = _defaultScrollControlDisabledMaxHeightRatio, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, bool? showDragHandle, bool useSafeArea = false, RouteSettings? routeSettings, AnimationController? transitionAnimationController, Offset? anchorPoint, AnimationStyle? sheetAnimationStyle, bool? requestFocus}) Future<T?>
Shows a modal Material Design bottom sheet.

Typedefs

VoidCallback = void Function()
Signature of callbacks that have no arguments and return no data.